ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / Strings Class / GetChar Method
string
character index

GetChar Method
Gets a character by its 1-based index
Syntax
'Declaration
 
Public Shared Function GetChar( _
   ByVal str As String, _
   ByVal Index As Integer _
) As Char
 

Parameters

str
string
Index
character index

Return Value

a character by its 1-based index
Exceptions
ExceptionDescription
Thrown if str is null. Thrown if Index is out if range.
See Also