v0.13.7

string.rtrim

functionimplementedavailable in: camelot

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

signaturewowlua
function string.rtrim(    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 right-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 ↗.