Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Convert the collection to the string Version 1 (Net)

...

Action group: Collections, subgroup: Arrays

...

...

Description

The action converts the collection elements to one string

Action icon

Image Modified

Parameters

Input parameters

  • The "Collection" field - the collection whose elements will be converted to a string
  • The "Separator" field - the character or characters that will separate the elements in the string

Output parameters

  • "Result" . Description: - the string with converted elements from the collection. Data type - Robin.String

...

  • The action can only convert collection items with the data types "String" or "NumberNumeric"
  • If there are no string/numeric elements in the collection, the action will return an empty string
  • If the collection contains elements of other types besides string/numeric elements, the action will convert only string/numeric elements
  • The user can enter character\/characters that will separate the elements in the string. Example: the elements of the collection are: "1", "2", "3", "а". Separator: "|". Result: string "1|2|3|a"
  • If the user does not set a separator, the elements in the string will go one after the other. Example: The elements of a collection are: "1", "2", "3", "а".  Result: string "123a"
  • If there is one string/numeric element in the collection, the action will return a string with one element. In this case, the set separator will not be taken into account
  • Output the collection of whole numbers without zero (i.e., not "1.0" but "1")

...

  1. Repeat steps 1-3 of Task 1.
  2. Set the parameters correctly: in the "Collection" field set the collection with several string or numeric elements, do not set the "Separator".Run the robot.

Result

The action returned a string of consecutive string and numeric elements of the set collection.

...