4D v16.3Uppercase |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
Uppercase
|
Uppercase ( aString {; *} ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
aString | String |
![]() |
String to convert to uppercase | |||||
* | Operator |
![]() |
If passed: keep accents | |||||
Function result | String |
![]() |
String in uppercase | |||||
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.
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"
Product: 4D
Theme: String
Number:
13
Modified: 4D v11 SQL
4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)