Join Version 6 (Net)
Action group: Text
Description
The action joins string variables in one with the set separator.
Action icon
Parameters
Input parameters
Parameter | Description |
---|---|
Separator | Text separator. |
Text | Part 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
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Separator | Text separator. | Robin.String | No | |
Text | Part of the text to be joined. | Robin.String | Yes | |
Results | ||||
Result | String variable to which the result of the concatenation will be written | Robin.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
- Move the "Join" action to the workspace.
- Set the "Join" action parameters.
- Start the robot by clicking "Start" in the top panel.
Result
The program robot completed successfully. The specified text parts are joined.
Обзор
Инструменты контента