Converts a string to lowercase.
Kernel.bdh
Strlwr(inout sString: string): string;
The string converted to lowercase.
Parameter | Description |
---|---|
sString | String to be converted. This parameter will contain the result string after the Strlwr operation |
dcltrans transaction TStrlwr var sString, sLower: string; begin sString := "HeLlO wOrLd!"; write("string = "); write(sString); writeln; // convert string to lowercase sLower := Strlwr(sString); write("string = "); write(sString); writeln; write("lower = "); write(sLower); writeln; end TStrlwr;
string = HeLlO wOrLd! string = hello world! lower = hello world!