API:GetReplaceSystemKeyword

Formats string before displaying.

formated_string = GetReplaceSystemKeyword(str)

Arguments

 * str
 * string - string to format; str contains special control tags in HTML like syntax (eg. example text - example text will be displayed in blue (cyan) color). You can pass also ids to replace it with proper text, eg. "[511160]".

Returns

 * formated_string
 * string - string ready to display

Example
fs = GetReplaceSystemKeyword("Press Enter to open Magic Window") DEFAULT_CHAT_FRAME:AddMessage(fs)