9.0
244
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: LCase$( ), StrComp( ), UCase$( ).
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
String$ Function
Syntax
String[$](Len, Char|$)
Group
String
Description
Return the string Len long filled with Char or the first char of Char$.
Parameter Description
Len Create a string this many chars long.
Char|$ Fill the string with this char value. If this is a numeric value then use the ASCII cha
r
equivalent. If this is a string value use the first char of that string. If this value is Null
then Null is returned.
See Also: Space$( ).
Example
Sub Main
Debug
.Print String$(4,65) '"AAAA"
Debug
.Print String$(4,"ABC") '"AAAA"
End
Sub










