Join Version 6 (Net)

Action group: Text


Description

The action joins string variables in one with the set separator.

Action icon

Parameters

Input parameters

ParameterDescription
SeparatorText separator.
TextPart of the text to be joined. 

Output parameters

The output is the string variable to which the result of the concatenation will be written

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
SeparatorText separator.Robin.String
No
TextPart of the text to be joined.Robin.String
Yes
Results
ResultString variable to which the result of the concatenation will be writtenRobin.String

Special conditions of use

To add a new string variable click on the plus button. 

"Separator" parameter.

  • If the parameter is not set, the text will just be glued together. 
  • If a parameter is set to a value (e.g. 1), this value will appear between all "Text" parameter values.

Example 1:
Separator - not set
Text - Hello
Text 1 - World
Result - HelloWorld

Example 2:

Separator - ,
Text - Hello
Text 1 - World
Result - Hello,World

Example 3:

Separator - ;
Text - Ivanov
Text 1 - Ivan
Text 2 - Ivanovich

Result - Ivanov;Ivan;Ivanovich

Example of use

Task

Join 3 strings into one variable.

Solution

Use the "Join" action. 

Implementation

  1. Move the "Join" action to the workspace.

  2. Set the "Join" action parameters.

  3. Start the robot by clicking "Start" in the top panel.


    Result
    The program robot completed successfully. The specified text parts are joined.



  • Нет меток