v0.13.6

string.ltrim

functionimplementedavailable in: camelot

Returns a string with all bytes in the specified character set removed from the start.

signaturewowlua
function string.ltrim(    str: stringView,    characters: stringView): stringView

Parameters

nametypedescription
strstringViewThe string to trim.
charactersstringViewThe set of bytes to remove. Default: " \\r\\n\\t".

Returns

trimmed · stringView · The left-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 ↗.