Returns a Char value representing the character from the specified index in the supplied string.
Required. Any valid String expression.
Required. Integer expression. The (1-based) index of the character in str to be returned.
|Exception type||Error number||Condition|
str is Nothing, Index < 1, or Index is greater than index of last character of str.
See the "Error number" column if you are upgrading Visual Basic 6.0 applications that use unstructured error handling. (You can compare the error number against the.) However, when possible, you should consider replacing such error control with .
Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)