Skip to end of banner
Go to start of banner

join

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Availability

This routine is available starting with katl-commons 4.0.7.

Syntax

join(string_arr, delimiter)

Description

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

Delimiting string.

Return type

string


Example

Example 1

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

Returns   "boo:and:foo"

See also

 

  • No labels