String RemoveTags Example
The following example removes XML tags from the given string. The RemoveTags viper allows for replacing the removed tags with another string as is demonstrated in the example.
Smartsite SXML | Copy Code |
---|---|
<se:buffer name="data"> <a href="about:blank">Hello <b>World</b></a> </se:buffer> {string.removetags($data)} {string.removetags($data, '+')} |
Example Result | Copy Code |
---|---|
Hello World +Hello +World++ |