string.wrap()
Wraps text so that each line has a specified maximum number of characters.
string.wrap( limit=number, strip=boolean )
Returns: String
Examples
string = "Thewayaredifbutdesareone";
res = string.wrap(3);
writeDump(res);
string2 = "onetwosixten";
res = string2.wrap(3);
writeDump(res);
string3 = "this is a string"
res = string3.wrap(4);
writeDump(res);