Framework:FKT FormattedTextToRawText: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 11: Line 11:
Typed:
Typed:


<span {{CoPFormel}}>FKT_FormattedTextToRawText('[color=#d03f3f]rot[/color][left][color=#0f0909]schwarz[/color][/left]')</span> -> Ergebnis: rotschwarz
<span {{CoPFormel}}>FKT_FormattedTextToRawText('[color=#d03f3f]rot[/color][left][color=#0f0909]schwarz[/color][/left]')</span> -> Result: rotschwarz





Latest revision as of 11:41, 12 September 2022

Function

This function returns a formatted text without the format tags (e.g. [color=#49e31a]).

FKT_FormattedTextToRawText(<FormattedText>)


This function belongs to server-side functions.

Example

Typed:

FKT_FormattedTextToRawText('[color=#d03f3f]rot[/color][left][color=#0f0909]schwarz[/color][/left]') -> Result: rotschwarz