UCASE


Returns an upper case copy of a string

Syntax:
declare function Ucase ( byref str as const string, byval mode as long = 0 ) as string
declare function Ucase ( byref str as const wstring, byval mode as long = 0 ) as wstring

Usage:
result = Ucase[$]( str [ , mode ] )

Parameters:
str
String to convert to uppercase.
mode
The conversion mode: 0 = current locale, 1 = ASCII only

Return Value:
Uppercase copy of str.

Description:
Returns a copy of str with all of the letters converted to upper case.

If str is empty, the null string ("") is returned.

Examples:
Print UCase("AbCdEfG")
will produce the output:

ABCDEFG


Platform Differences:
Dialect Differences:
Differences from QB:
See also:
Back to String Functions
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode