Bridge

Char..::..IsLetterOrDigit Method (String, Int32)

Indicates whether the character at the specified position in a specified string is categorized as a letter or a decimal digit.

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

Syntax


[TemplateAttribute]
public static bool IsLetterOrDigit(
	string s,
	int index
)
<TemplateAttribute> _
Public Shared Function IsLetterOrDigit ( _
	s As String, _
	index As Integer _
) As Boolean
[TemplateAttribute]
public:
static bool^ IsLetterOrDigit(
	String^ s, 
	int^ index
)

Parameters

s
Type: System..::..String
A string.
index
Type: System..::..Int32
The position of the character to evaluate in s.

Return Value

true if the character at position index in s is a letter or a decimal digit; otherwise, false.

Exceptions


ExceptionCondition
System..::..ArgumentNullExceptions is null.
System..::..ArgumentOutOfRangeExceptionindex is less than zero or greater than the last position in s.