[]
        
(Showing Draft Content)

C1.Win.Input.CharHelper.ToHalfWidth

ToHalfWidth Method

ToHalfWidth(char)

Converts the value of a Unicode character to it's half width equivalent. Ranges are Latin basic, Katakana and Hangul characters.

Declaration
public static char ToHalfWidth(char c)
Parameters
Type Name Description
char c

A Unicode character.

Returns
Type Description
char

The half width equivalent of c.

- or -

The unchanged value of c, if c is already a half width or not a multi-width character.