StringBuilder: Chars (let)

Chars

Sets a character in the string value.



 Public Property Let Chars(
	  ByVal Index As Long,
	  ByVal Char As Integer )

Parameters

Index
[ByVal] Long. The index into the string value to set the character.
Char
[ByVal] Integer. The character to set.

Remarks

Index is zero-based.

Setting a character can only replace an existing character. A character cannot be appended using this method. To append a character use StringBuilder.AppendChar.

Read/Write.

See Also

Project CorLib Overview

Class StringBuilder Overview

AppendChar