Text (vuo.text)
These nodes are for working with text.
These nodes use the UTF-8 encoding for the Unicode character set. This means that they can handle ASCII characters (such as the English/Latin alphabet) as well as other characters, such as accented characters and non-Latin alphabets.
You can enter multiple lines of text into a text input editor by using Option-Return to insert line breaks.
Several nodes in this set — such as Cut Text
, Insert Text
, and Find Text
— use an index number to represent a position in the text. Index 1 represents the first character.
Example compositions:
Nodes:
- Append Texts (vuo.text.append): Appends the input texts together to create a composite text.
- Change Case (vuo.text.case): Changes the capitalization of a string.
- Count Characters (vuo.text.countCharacters): Gives the number of characters in the text.
- Cut Text (vuo.text.cut): Outputs part of the input text.
- Find Text (vuo.text.find): Outputs a list containing the index of each occurrence of Text to Find in Text.
- Format Number (vuo.text.format.number): Formats a real number as text.
- Insert Text (vuo.text.insert): Adds text into other text.
- Make Text from ASCII (vuo.text.make.ascii): Creates a new text value from an ASCII code.
- Make Text from Control Code (vuo.text.make.controlCode): Creates a new text value from a Control Code.
- Is Text Populated (vuo.text.populated): Outputs true if the text contains at least one character.
- Remove HTML (vuo.text.removeHtml): Converts HTML to plain text.
- Replace Text (vuo.text.replace): Outputs text in which each occurrence of Text to Find in Text has been replaced with Replacement.
- Split Text (vuo.text.split): Separates the text into parts.
- Split Text Stream (vuo.text.split.stream): Separates a stream of text into parts.