|
|
"WordWrap Function", by scienthsine
|
Takes a string, and a Max line length, and returns a string with carrage returns and new lines places in te appropraite places. It breaks on the space right before the max line length. If the entire line is taken up by one word, it breaks on the character that falls on the max line length, and places a "-" dash there. |
| Code | | | |