[]
        
(Showing Draft Content)

C1.Framework.CharHelper.IsFullWidth

IsFullWidth Method

IsFullWidth(char)

Indicates whether the specified Unicode character is a full width character. Usually CJK characters are considers as full widths.

Declaration
public static bool IsFullWidth(char c)
Public Shared Function IsFullWidth(c As Char) As Boolean
Parameters
Type Name Description
char c

A Unicode character.

Returns
Type Description
bool

true if c is a full width character; otherwise, false.

IsFullWidth(string, int)

Indicates wether the character at the specified position in the specified string is a full width character. Usually CJK characters are considers as full widths.

Declaration
public static bool IsFullWidth(string s, int index)
Public Shared Function IsFullWidth(s As String, index As Integer) As Boolean
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 full width character; otherwise, false.