v0.13.8

C_StringUtil.StripHyperlinks

functionimplementedavailable in: camelot

Returns the text with its hyperlinks and other markup removed. · description by wowlua

signaturewowlua
function C_StringUtil.StripHyperlinks(    text: string,    maintainColor: boolean,    maintainBrackets: boolean,    stripNewlines: boolean,    maintainAtlases: boolean,    maintainTextures: boolean): stringView

Parameters

nametypedescription
textstring
maintainColorbooleanIf true, preserve all '|c' and '|r' quoted code sequences. Default: false.
maintainBracketsbooleanIf true, preserve all '[' and ']' characters. Default: false.
stripNewlinesbooleanIf true, remove all '|n' quoted code sequences. Default: false.
maintainAtlasesbooleanIf true, preserve all balanced '|A' and '|a' quoted code sequences. Default: false.
maintainTexturesbooleanIf true, preserve all balanced '|T' and '|t' quoted code sequences. Default: false.

Returns

stripped · stringView

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: written by wowlua where no documentation describes the entry. Parameter and result notes: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.