The Conversion attribute function returns the content of the variable's string in a modified form.
|
Syntax | ||||
|
Conversion(ConversionMode, [LanguageID] [LocaleID]) | ||||
|
Return value | ||||
|
Type |
Description | |||
|
Variant |
The converted string | |||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
ConversionMode |
ConversionModes |
ByVal |
Conversion parameter |
|
Optional |
LanguageID |
String |
ByVal |
Language-ID of the value |
|
Optional |
LocaleID |
Long |
ByVal |
Locale-ID under which to perform the conversion. |
|
Note | ||||
|
ConversionModes |
Description |
|
128 – FromUnicode |
Converts the string to the system's default code page |
|
32 – Hiragana |
Converts Katakana characters in the string to Hiragana characters |
|
16 – Katakana |
Converts Hiragana characters in the string to Katakana characters |
|
2 – LowerCase |
Converts the string to lowercase letters |
|
8 – Narrow |
Converts double-byte characters to single-byte characters |
|
3 – ProperCase |
Converts the first characters of the words to capital letters |
|
64 – ToUnicode |
Converts the characters to Unicode characters using the system's default code page |
|
1 – UpperCase |
Converts the string to uppercase letters |
|
4 – Wide |
Converts single-byte characters to double-byte characters |