Skip to tool

Apex Join Online

Join list-style input using a delimiter.

The output updates as you type. The tool processes input in your browser.

Worked example

Supply one item per line or a JSON array. The separator is inserted between adjacent items.

Delimiter
", "
Sample input
alpha
beta
gamma
Sample output
alpha, beta, gamma

Using this operation in Apex

The interactive result uses JavaScript. Apex text utilities use the System namespace. Consider Salesforce transaction limits when applying an expensive transformation to many records.

Apex reference