Chars Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the Char object at a specified position in the current String object.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Public ReadOnly Property Chars ( _
	index As Integer _
) As Char


Type: System..::..Int32
A position in the current string.

Property Value

Type: System..::..Char
The object at position index.

The index parameter is zero-based.

This property returns the Char object at the position specified by the index parameter. However, a Unicode character might be represented by more than one Char. Use the StringInfo class to work with Unicode characters instead of Char objects.