Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

Item

Declaring type: String
Module: System
Assembly: System.Runtime.dll
Source file: String.rvn

Overloads / Variants

Item

val self[index: int]: Character

Source file: String.rvn

Implements Sequence<Character>.Item

Reads the character at a zero-based grapheme index.

Parameters

Name Type Description
index Int32 The extended grapheme index.

Property value

Character

Remarks

Read-only. Negative or past-end indexes raise IndexOutOfRange. Access scans the text; it is not constant-time or UTF-16 code-unit indexing.

Item

val self[range: Range]: string

Source file: String.rvn

Copies a half-open grapheme range; invalid bounds fault.

Parameters

Name Type Description
range Range

Property value

String