Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleAvailability

This routine is available since starting with katl-commons 4.0.7.

Syntax

...

join(string_arr, delimiter)

Description

...

Excerpt

Returns the string obtained by concatenating all the strings from the array using the provided delimiter

Parameters

...

Parameter name

Type

Required

Description

string_arr

string []

Yes

Specifies the strings to be concatenated

delimiter

string

Yes

The delimiting string

Return type

...

string


Example

...

Example 1

...

Code Block
string [] arr = {"boo", "and", "foo"};
return join(arr, ":");

Returns   "boo:and:foo"

See also

...

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
cqllabel = "string_routines"
labelsstring_routines

...