string. trim
functionimplementedavailable in: camelot
Trim characters (*chars*), off the left and right of *str*
function string.trim( str: stringView, characters: stringView): stringViewParameters
| name | type | description |
|---|---|---|
str | stringView | The input string. |
characters | stringView | The set of bytes to remove. Default: " \\r\\n\\t". |
Returns
trimmed · stringView · The trimmed string.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (LuaStringExtensions system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗. Parameter and result notes: Blizzard's API documentation (Blizzard_APIDocumentationGenerated).