Uppercase

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11 (Modified)


Uppercase (aString; *) String

ParameterTypeDescription
aStringStringString to convert to uppercase
**If passed: keep accents
Function resultStringString in uppercase

Description

Uppercase takes aString and returns the string with all alphabetic characters in uppercase.

The optional * parameter, if passed, indicates that any accented characters present in aString must be returned as accented uppercase characters. By default, when this parameter is omitted, accented characters "lose" their accents after the conversion is carried out.

Examples

1. This example compares the results obtained according to whether or not the * parameter has been passed:

   $thestring:=Uppercase("hélène")  ` $thestring is "HELENE"
   $thestring:=Uppercase("hélène";*)  ` $thestring is "HÉLÈNE"

2. See the example for Lowercase.

See Also

Lowercase.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next