Programming Reference Manual
 
Syntax
 
StrConv[$](Str,Conv)
 
Description
Convert the string.
 
Parameter
Description
Str
Convert this string value. If this value is Null then Null is returned.
Conv
This numeric value indicates the type of conversion. See conversion table below.
 
Conv
Value
Effect
vbUpperCase
1
Convert to upper case.
vbLowerCase
2
Convert to lower case.
vbProperCase
3
Convert to proper case. (Not supported.)
vbWide
4
Convert to wide. (Only supported for Win32 in eastern locales.)
vbNarrow
8
Convert to narrow. (Only supported for Win32 in eastern locales.)
vbKatakana
16
Convert to Katakana. (Only supported for Win32 in Japanese locales.)
vbHiragana
32
Convert to Hiragana. (Only supported for Win32 in Japanese locales.)
vbUnicode
64
Convert to Unicode. (Only supported for Win32.)
vbFromUnicode
128
Convert from Unicode. (Only supported for Win32.)
See Also
Example
 
Sub Main
Dim B(1 To 3) As Byte
B(1) = 65
B(2) = 66
B(3) = 67
Debug.Print StrConv$(B,vbUnicode) '"ABC"
End Sub