replaceHwAlphanumericsWithFw
replaceHwAlphanumericsWithFw(str
): string
半角(Half-width)英数字を全角(Full-width)英数字に置換
以下を対象とする
0-9
→0-9
a-z
→a-z
A-Z
→A-Z
See
https://en.wikipedia.org/wiki/Halfwidth_and_Fullwidth_Forms_(Unicode_block)
Example
// 返値: Aa0
replaceFwAlphanumericsWithHw('Aa0')
// 返値: Aa0
replaceFwAlphanumericsWithHw('Aa0')
Parameters
Name | Type |
---|---|
str | string |
Returns
string