ProtoFlux:StripRTFTags: Difference between revisions

From Resonite Wiki
Add image and improve descriptions
Add example string text used in image
Line 27: Line 27:


== Examples ==
== Examples ==
[[File:StripRTF Tags Node Example.png|thumb|Strip RTF Tag node clearing formatting tags from a provided string.]]
[[File:StripRTF Tags Node Example.png|thumb|Strip RTF Tag node clearing formatting tags from a provided string.]]The input string of `<nowiki><i>Some</i></nowiki> <color=red>Red Text</color> and <nowiki><b>BOLD Text</b></nowiki>` will output `Some Red Text and BOLD Text` without any additional tags.
[[Category:ProtoFlux:Strings]]
[[Category:ProtoFlux:Strings]]

Revision as of 01:51, 18 April 2025

Strip RTF
String
*
Strings

Strip RTF is a ProtoFlux node that removes text formatting tags such as "<size>" "<b>" "<i>" "<u>".

Inputs

String (String)

The string to strip the RTF tags from.

Outputs

* (String)

The input string with all text formatting tags removed.

Examples

Strip RTF Tag node clearing formatting tags from a provided string.

The input string of `<i>Some</i> <color=red>Red Text</color> and <b>BOLD Text</b>` will output `Some Red Text and BOLD Text` without any additional tags.