StringBuilder.SetCharAt(Int32, Char) StringBuilder.SetCharAt(Int32, Char) Method

Definition

Sets the character at the index.

[Android.Runtime.Register("setCharAt", "(IC)V", "")]
public override void SetCharAt (int index, char ch);
override this.SetCharAt : int * char -> unit

Parameters

index
Int32 Int32

the zero-based index of the character to replace.

ch
Char Char

the character to set.

Exceptions

if index is negative or greater than or equal to the current 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