String.CharAt(Int32) String.CharAt(Int32) Method

Definition

Returns the char at index.

[Android.Runtime.Register("charAt", "(I)C", "")]
public char CharAt (int index);
abstract member CharAt : int -> char
override this.CharAt : int -> char

Parameters

index
Int32 Int32

the zero-based index in this string.

Returns

Implements

Exceptions

if index or index >= length().

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to