Text

Nodes in this category support the manipulation, formatting, and rendering of text strings.

Nodes

NodeDetailsPossible Types
Serialize

Converts a value to a JSON string representation.

string → string
bool → string
f64 → string
u32 → string
u64 → string
vec2 → string
transform → string
Table<Raster> → string
Table<Color> → string
String Concatenate

Joins two strings together.

string → string
String Length

Counts the number of characters in a string.

string → f64
String Replace

Replaces all occurrences of "From" with "To" in the input string.

string → string
String Slice

Extracts a substring from the input string, starting at "Start" and ending before "End".

Negative indices count from the end of the string.

If "Start" equals or exceeds "End", the result is an empty string.

string → string
String Split

Splits a string into a list of substrings based on the specified delimeter.

For example, the delimeter "," will split "a,b,c" into the strings "a", "b", and "c".

string → Vec<String>
Text

Draws a text string as vector geometry with a choice of font and styling.

EditorApi<WasmApplicationIo> → Table<Vector>