Trim
- Remove characters from both sides of a string. This activity removes whitespace and other predefined characters from both sides of a string().
Properties
Common
- DisplayName (String) –The display name of the activity.
Misc
- Input (InArgument<String>) – The input String to be trimmed.
- Characters (InArgument<String>) – Different characters such as “\t”,”\n”,”\r”,”\0”,” ”
- Result (OutArgument<String>) – Returns the trimmed String.
- Private (Boolean) – If selected, the values of variables and arguments are no longer logged at Verbose level.
Example
- Create a new Process and then click on Manage Packages. Now search for Activities.Expressions in search bar. Install this package and click Save.
- Then create a Sequence and inside it call Trim Enter the input String, Characters and take output in the result parameter.