[]
        
(Showing Draft Content)

C1.Framework.CharHelper.ToKatakana

ToKatakana Method

ToKatakana(char)

Converts the value of a Unicode character to it's "Katakana" equivalent. Special character handling for the Japanese language.

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

A Unicode character.

Returns
Type Description
char

The Katakana equivalent of c.

- or -

The unchanged value of c, if c is already a Katakana or not Hiragana.

ToKatakana(char, bool)

Converts the value of a Unicode character to it's "Katakana" equivalent with an optional setting of full or half width. Special character handling for the Japanese language

Declaration
public static char[] ToKatakana(char c, bool fullWidth)
Public Shared Function ToKatakana(c As Char, fullWidth As Boolean) As Char()
Parameters
Type Name Description
char c

A Unicode character.

bool fullWidth

true to return a full width Katakana, and false to return a half width Katakana.

Returns
Type Description
char[]