I wanted to know what the command string/join does, and the “help” button does not show anything. What does that command do?

  • You must to post comments

Joins the given enumerable into a string, separated by the separators.

If the separator is not used, it defaults to the empty binary.

All elements in the enumerable must be convertible to a string, otherwise, an error is raised.

For example, let’s say that you have two or more strings in an array, this action joins those strings into a single string.

Example 1

Array: [1, 2, 3]
Result:  123

Example 2

Array: [1, 2, 3]   Separator: =

Result: 1 = 2 = 3

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.