Reverse Version 5 (Java)
Action group: Text
Description
Reverse the order of characters in the text
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Text | Source text for processing. | 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 text variable "Text" with the value "Was it a cat I saw?". You need to reverse the order of characters in the variable and output the result in a dialog box.
Solution
Use the actions "Reverse". "Show message".
Implementation
- Create a "Text variable" variable to record the result of the "Reverse" action into it.
- Move the "Reverse" action to the workspace and set the action parameters.
- Move the "Show message" action to the workspace and set the action parameters.
- Launch the robot using the "Start" button in the top panel.
Result
The dialog box displays the new value with a changed character order
Обзор
Инструменты контента