Watch the walkthrough
Combine text and variable values with text concatenation.
Recorded with an earlier Twidget interface. Names, control locations and available options may differ; use the linked documentation for current guidance.
Watch tutorial (2:24)
Browse all video tutorials
Twidget offers a variety of commands to manipulate text in various ways.
To Uppercase
Description
Converts all characters of the provided text to uppercase.
Outputs
- A text string with all characters in uppercase.
To Lowercase
Description
Converts all characters of the provided text to lowercase.
Outputs
- A text string with all characters in lowercase.
Concat
Description
Concatenates two provided texts.
Outputs
- A text string which is the combination of the two inputs.
Substring
Description
Extracts a substring from the provided text.
Outputs
- A substring extracted from the original text.
Index of
Description
Finds the index of the first occurrence of the second provided text in the first provided text.
Outputs
- A number representing the index of the first occurrence.
Last Index of
Description
Finds the index of the last occurrence of the second provided text in the first provided text.
Outputs
- A number representing the index of the last occurrence.
Length
Description
Calculates the length of the provided text.
Outputs
- A number representing the length of the text.
Replace
Description
Replaces all occurrences of a specified substring with another substring.
Outputs
- A text string with the specified replacements made.
Trim
Description
Removes whitespace from both ends of a text.
Outputs
- A text string with removed whitespaces.
Split
Description
Splits a string into an array of substrings based on a specified delimiter.
Outputs
- An array of text substrings.
Contains
Description
Checks whether the first text contains the second text or not.
Outputs
- A boolean indicating whether the first text contains the second text.
Starts With
Description
Checks whether the first text starts with the second text or not.
Outputs
- A boolean indicating whether the first text starts with the second text.
Ends With
Description
Checks whether the first text ends with the second text or not.
Outputs
- A boolean indicating whether the first text ends with the second text.
Equals
Description
Checks whether the first text is equal to the second text or not.
Outputs
- A boolean indicating whether the two texts are equal.
Not Equal
Description
Checks whether the first text is not equal to the second text or not.
Outputs
- A boolean indicating whether the two texts are not equal.
Is Empty
Description
Checks whether the provided text is empty or not.
Outputs
- A boolean indicating whether the text is empty.
Not Empty
Description
Checks whether the provided text is not empty or not.
Outputs
- A boolean indicating whether the text is not empty.