Returns a specified character expression in lowercase letters.
String.ToLower()
Where:
String
Is a character expression based on the Character/VarChar/LongVarChar data type.
Type Returned:
Character
Data Types: Character, VarChar, LongVarChar
Generators:
.NET,
.NET Framework, Java, RPG, Cobol, Ruby (up to GeneXus X Evolution 3),
Visual FoxPro (up to GeneXus X Evolution 3)
Converts all uppercase letters (A - Z) in a character expression to lowercase letters (a - z). All the other characters in the character expression remain unchanged.
Note: In Cobol and RPG for iSeries the character expression can be up to 256 bytes long.
By defining the following code in an Event:
&ArtistName = "Van Gogh, Vincent"
&TxtLower = &ArtistName.ToLower()
you will go from this:
&ArtistName = "Van Gogh, Vincent"
to this:
&TxtLower = "van gogh, vincent"
Lower function
Upper Function
ToUpper method