[]
        
(Showing Draft Content)

C1.Framework.CharHelper.IsAlphaOrDigit

IsAlphaOrDigit Method

IsAlphaOrDigit(char)

Indicates whether the specified Unicode character is categorized as a alphabet letter or digit.

Declaration
public static bool IsAlphaOrDigit(char c)
Parameters
Type Name Description
char c

A Unicode character.

Returns
Type Description
bool

true if c is a alphabet letter or digit; otherwise, false.

IsAlphaOrDigit(string, int)

Indicates wether the character at the specified position in the specified string is a alphabet letter or digit.

Declaration
public static bool IsAlphaOrDigit(string s, int index)
Parameters
Type Name Description
string s

A string.

int index

The character position in s.

Returns
Type Description
bool

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