New in Formulas 2.0
The unstyle()
function removes styles from a string. If no styles are specified, all styles are removed.
unstyle(string, string [optional])
string.unstyle(string [optional])
Code language: JavaScript (javascript)
For a list of styles that can selected for removal, please refer to the style function.
Example Formulas
unstyle("Thomas Frank")
"College Info Geek".unstyle("s")
Code language: JavaScript (javascript)
The first example will convert “Thomas Frank” to “Thomas Frank”, and the second example will convert “College Info Geek” to “College Info Geek“.