Convert case Version 6 (Java)


Description

The action sets the case type for a text.

Action icon


Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
TextText to make action onRobin.String
Yes
Case typeCase, to which the text will be converted toRobin.String
Yes
Results
ResultA string variable containing the processed text.Robin.String

Special conditions of use

None.

Example of use

Task 

There is a variable "Text" with values: "Robot 1. Robot 2. Robot 3."  Display the value "ROBOT 1. ROBOT 2. ROBOT 3." in a dialogue window.

Solution 

Use the "Convert case", "Show message" actions.

Implementation 

  1. Create a string type variable "Text" where the "Convert case" action result will be written into.
  2. Move the "Convert case" action to the workspace and set its parameters.

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

  4. Click "Start" in the top panel to start the robot.

Result

The desired value is displayed in the dialogue window.


  • Нет меток