Trim Text
Trims the given text
Last updated
Trims the given text
Last updated
This activity trims the given text.
Text : String Argument
Input the text which is to be trimmed.
Trim With: String Argument
Input the character to be trimmed from the specified text.
Trim From: Select from where the specified text is to be trimmed. The following are the available options.
TrimStart(default)
- Removes all the leading occurrences of the specified character from the given string.
TrimEnd
- Removes all the trailing occurrences of the specified character from the given string.
TrimBoth
- Removes all the trailing as well as the leading occurrences of the specified character from the given string.
Result: String Variable
Stores the trimmed text in the specified String variable.