~/forever/addon-api/function/string.trim
string.trim
documented function · LuaStringExtensions
string.trim(str, characters) : trimmedReturns a string with all bytes in the specified character set removed from both ends.
──ARGUMENTS
- str
- stringView (The string to trim.)
- characters
- stringView, default \r\n\t (The set of bytes to remove.)
──RETURNS
- trimmed
- stringView (The trimmed string.)
──DETAILS
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.