Trim Version 5 (Java)
Action group: Text
Description
Deletes all start and end occurrences of the specified character set
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Text | Source text for processing. | Robin.String | Yes | |
Symbols | Characters to be trimmed | Robin.String | Yes | |
Results | ||||
Result | A string variable containing the processed text. | Robin.String |
Special conditions of use
None.
Example of use
Task
There is a variable "Primary text" with the value: "House" It is required to output in the dialog box the value: House
Solution
Use the actions "Trim", "Show message".
Implementation
- Create a variable with the type string "Text variable" into which the result of the "Trim" action will be written.
- Move the "Trim" action to the workspace and set its parameters.
- Move the "Show message" action to the workspace and set its parameters.
- Launch the robot using the "Start" button in the top panel.
Result
The formatted text is displayed in the dialog box
Обзор
Инструменты контента