|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| str.wrapText(sourceString, Separator, MaxCols) |
Parameters
| STRING | sourceString | Source string.
| | STRING | Separator | Optional. Break String. Default is carriage return/line feed pair.
| | INT | MaxCols | Maximum line length. |
Return value
| String with lines breaks. |
Description
Scans a string to insert a line break or any other specified character or string so each line is not longer than the specified value (MaxCols).
The function does not insert a break into an embedded single or double quoted string. |
MioScript Sample Code
str.wrapText("Hello, World", null, 10) |
|
|
|