[]
        
(Showing Draft Content)

C1.Framework.CharHelper.IsMultiWidth

IsMultiWidth Method

IsMultiWidth(char)

Indicates whether the specified Unicode character is categorized as a multi-width character.

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

A Unicode character.

Returns
Type Description
bool

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

IsMultiWidth(string, int)

Indicates whether the character at the specified position in a specified string is categorized as a multi-width character.

Declaration
public static bool IsMultiWidth(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 multi-width character; otherwise, false.