4D v14.3

Lowercase

Home

 
4D v14.3
Lowercase

Lowercase 


 

Lowercase ( aString {; *} ) -> Function result 
Parameter Type   Description
aString  String in String to convert to lowercase
Operator in If passed: keep accents
Function result  String in String in lowercase

Lowercase takes aString and returns the string with all alphabetic characters in lowercase.

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

The following project method capitalizes the string or text received as parameter. For instance, Caps ("john") would return "John".

  ` Caps project method
  ` Caps ( String ) -> String
  ` Caps ( Any text or string ) -> Capitalized text
 
 $0:=Lowercase($1)
 If(Length($0)>0)
    $0≤1≥:=Uppercase($0≤1≥)
 End if

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

 $thestring:=Lowercase("DÉJÀ VU") ` $thestring is "deja vu"
 $thestring:=Lowercase("DÉJÀ VU";*) ` $thestring is "déjà vu"

 
PROPERTIES 

Product: 4D
Theme: String
Number: 14

 
HISTORY 

Modified: 4D v11 SQL

 
SEE ALSO 

Uppercase

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)