StrConv
StrConv class supports the process which the String class does not support.
StrConv.hiragana(string)
Converts and returns a katakana into a hiragana.
StrConv.katakana(string)
Converts and returns a hiragana into a katakana.
StrConv.wide(string)
Converts and returns a half-width character into a full-width character.
StrConv.narrow(string)
Converts and returns a full-width character into a half-width character.
StrConv.proper(string)
Converts and returns the initial of an English word into an upper-case character.
StrConv.trim(string, trimchars)
Removes characters in trimchars in the both sides of string. If the value of trimchars is "ab", the character of "a" and "b" is removed respectively.
StrConv.yomigana(string)
Based on the dictionary registered into IME, converts a kanji into a kana.