Reverse Version 5 (Java)

Action group: Text


Description

Reverse the order of characters in the text

Action icon


Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
TextSource text for processing.Robin.String
Yes
Results
ResultA 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 

  1. Create a "Text variable" variable to record the result of the "Reverse" action into it. 


  2. Move the "Reverse" action to the workspace and set the action parameters. 


  3. Move the "Show message" action to the workspace and set the action parameters. 


  4. Launch the robot using the "Start" button in the top panel. 

Result

The dialog box displays the new value with a changed character order 

  • Нет меток