Yellicode
The extensible code generator
Wraps the provided string input to a specified maximum width.
Parameters
| Name | Type | Description |
|---|---|---|
| str | string | The string to be wrapped. |
| width | integer | The maximum width of the wrapped text in characters. |
Contains helper methods that can be used by custom code writers and templates.
| Name | Returns | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
wordWrap(str, width)CodeWriterUtility.wordWrapXWraps the provided string input to a specified maximum width. Parameters
Return valueType: string [*] | string [*] | Wraps the provided string input to a specified maximum width. |