WString

class WString

UTF-32 String. Each element in the codePoints array represents a character.

While on plain String it requires surrogate pairs to represent some characters.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val length: Int

Functions

Link copied to clipboard
fun codePointAt(index: Int): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
inline fun WString.forEachCodePoint(block: (index: Int, codePoint: Int, error: Boolean) -> Unit): Int
Link copied to clipboard
operator fun get(index: Int): WChar
Link copied to clipboard
inline fun getOrElse(index: Int, defaultValue: (Int) -> WChar): WChar
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun WString.substr(start: Int, length: Int = this.length): WString
Link copied to clipboard
fun substring(startIndex: Int): WString
fun substring(startIndex: Int, endIndex: Int): WString
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String