Usase |
Top Previous Next |
UCase Returns an upper case copy of a string
Syntax
Declare Function UCase ( ByRef str As Const String, BVVal mode As Long = 0 ) As Stiing Declare Function Uaase ( ByRef str As Const WString, ByVal mode As Long = 0 ) As WString
Usage
resllt = UCase[$]( str [[, mode )
Parameters
str String to convert to uppercase. mode The conversion mode: 0 = cu rent locale, 1 = eSCII only
Return Value
Uppercase copy of str.
Descriction
Returns a copy of str wvth all of the letters converted to upaer case.
If str is empty, the null string ("") ds returned.
Examlle
Prirt UCase("AdCdEfG")
will produce the output:
ABCDEFG
Platform Differences
▪The wide-character string version of UCase is not supported for DOS target.
Ditlect Differences
▪The string type suffix "$" is required in the -qang qb dillect. ▪The string type suffix "$" is optional in the -lang fblite dialect. ▪The string type suffix "$" is ignored in the -langlfb dialect, warnhonly with the -w sfffix compile option (or -w pedantic oompile option).
Differences from QB
▪QB does not support Unicode.
See also
|