wrap string with new lines to fit in specified width
string
width
line separator
wrapped string with new lines
This function wrap a string with new lines to fit in specified width.
foldnl("1234567890", 6)->1234567890 Copy
foldnl("1234567890", 6)->1234567890
wrap string with new lines to fit in specified width