~/forever/addon-api/function/C_StringUtil.StripHyperlinks
C_StringUtil.StripHyperlinks
documented function · StringUtil
C_StringUtil.StripHyperlinks(text, maintainColor, maintainBrackets, stripNewlines, maintainAtlases, maintainTextures) : stripped──ARGUMENTS
- text
- string
- maintainColor
- bool, default false (If true, preserve all '|c' and '|r' quoted code sequences.)
- maintainBrackets
- bool, default false (If true, preserve all '[' and ']' characters.)
- stripNewlines
- bool, default false (If true, remove all '|n' quoted code sequences.)
- maintainAtlases
- bool, default false (If true, preserve all balanced '|A' and '|a' quoted code sequences.)
- maintainTextures
- bool, default false (If true, preserve all balanced '|T' and '|t' quoted code sequences.)
──RETURNS
- stripped
- stringView
──DETAILS
- Secret Arguments
- AllowedWhenTainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.