STRIP(<&target>,<text>)
- Category
- Calculations
- Added in
- v0.9
Strips all formatting codes from the specified <text>
and assigns the result to <&target>
.
Returns the result.
Example
&string = "§eyellow §r§lbold"
STRIP(&variant1,%&string%)
&variant2 = STRIP(%&string%)
// Both output "yellow bold"
LOG(%&variant1%)
LOG(%&variant2%)