Skip to tool

Kotlin 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 Kotlin

The interactive result uses JavaScript. Kotlin String APIs expose character indexes and case conversion. Check whether your code targets JVM, JS, Native, or Wasm when depending on platform-specific utilities.

Kotlin reference