wordwrap
Wrap words at arg line length.
def wordwrap(
value: string,
arg: integer
) - > string
Wrap words at arg line length.
Parameters
| Name | Type | Description |
|---|---|---|
| value | string | The text content to be wrapped. |
| arg | integer | The maximum number of characters allowed per line before wrapping occurs. |
Returns
| Type | Description |
|---|---|
string | The input string with newline characters inserted at the specified line length intervals. |