klyn.MutableString.join
method
public join(notnull values as IList<CodeUnit>) as String
Description

Joins UTF-16 code units without splitting supplementary characters. Adjacent high/low surrogates form one textual element; separators are inserted between Unicode scalars, never between the halves of a pair.

Parameters
ParameterDescription
valuesUTF-16 units to decode and join.
Returns

An immutable joined value.

Throws
  • ValueException if a surrogate has no matching pair.
Example
result = m", ".join(f:[`a`, `b`])