v0.13.8

C_StringUtil.WrapString

functionimplementedavailable in: camelot

Returns a string with 'prefix' and 'suffix' joined to 'infix' iif 'infix' is not an empty string. Else, an empty string is returned.

signaturewowlua
function C_StringUtil.WrapString(    infix: stringView,    prefix: stringView?,    suffix: stringView?): string

Parameters

nametype
infixstringView
prefixstringView?
suffixstringView?

Returns

text · 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 ↗.