Wrap
Last updated
Was this helpful?
Last updated
Was this helpful?
Wraps a string at the specified limit, breaking at the last space within the limit.
string
string
true
The string to wrap.
limit
integer
true
The character limit at which to wrap the string.
strip
boolean
false
If true, replaces all line endings with spaces before wrapping. Default is false.
false