ZEN2HAN†
Format†
ZEN2HAN( src [ , type ] )
Function†
- Converts all full-width English characters, numbers, and katakana in a string to half-width characters.
Arguments†
- src
- The string to be converted.
- type
- A comma-separated string of the character types to be converted (optional). If omitted, all are specified.
- number - numerical values (0–9)
- alphabet - alphabetic
- symbol - symbols, etc.
- kana - katakana and punctuation marks
Return value†
- If successful, the converted string
- If unsuccessful, nothing is returned (VOID)
Related†
Version†
Example†
_result=ZEN2HAN('2007ABCアイウエオ','number,alphabet')
_result will be "2007ABCアイウエオ".