Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

join() Function (SLAX)

Namespaces

SLAX Syntax

Description

Combine a set of strings and add a separator between each item.

Parameters

separator

Character to use as the delimiter between strings.

string

One or more strings to combine.

Return Value

string

String that concatenates all of the specified strings using the separator as the delimiter between each item.

Usage Examples

The following script uses the join() function to construct a file path and an IP address.

The resulting strings are:

Release Information

Function introduced in SLAX version 1.3.