K3String

The K3String class represents marker-aware character strings for use in Keyboard3 models and runtimes.

See also

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val length: Int

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
operator fun get(index: Int): K3StringAtom
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Returns true if this string is empty (does not contain any characters nor any markers).

Link copied to clipboard
Link copied to clipboard

Returns true if this string is not empty (contains characters and/or markers).

Link copied to clipboard
open operator override fun iterator(): Iterator<K3StringAtom>
Link copied to clipboard

Normalizes this string in a marker-aware manner, using the marker algorithm from Unicode TR35.

Link copied to clipboard
operator fun plus(other: K3String): K3String
Link copied to clipboard
fun slice(indices: IntRange): K3String
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun toText(): String
fun toText(startIndex: Int, endIndex: Int): String