C_StringUtil. RemoveContiguousSpaces
functionimplementedavailable in: camelot
Returns a string with all contiguous occurrences of ASCII space characters truncated.
function C_StringUtil.RemoveContiguousSpaces( text: stringView, maxAllowedSpaces: number): stringParameters
| name | type | description |
|---|---|---|
text | stringView | |
maxAllowedSpaces | number | Maximum number of permitted contiguous space characters; excessive spaces will be truncated to this count. |
Returns
trimmedText · 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) (StringUtil system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.