HTBasic Help
×
Menu
Index

CVT$

Convert strings from one alphabet to another.
 
 CVT$( old-string, cvt-name )
 
 cvt-name = string-expression
 
Usage:
A$ = CVT$(B$,"HANKAKU KATAKANA TO HANKAKU HIRAGANA")
A$ = CVT$(B$,"HANKAKU HIRAGANA TO HANKAKU KATAKANA")
 
Description:
The CVT$ string function translates the characters in old-string from one alphabet to another. It converts the string character by character and handles a mixture of one- and two-byte character strings.
 
The CVT$ string function is used for two-byte languages like Japanese. The legal values for cvt-name, available alphabets and character mapping between alphabets depends on the specific version of HTBasic.
 
See Also: