StrlwrEx Function

Action

Converts a string to lowercase format (and umlautes, if required).

Include file

kernel.bdh

Syntax

StrlwrEx(
      inout sString : string ): string ;

Return value

the modified string

Parameter Description
sString String to be converted. This parameter will contain the result string after the StrlwrEx operation

Example

dcltrans
  transaction TStrlwrEx
  var
    sString, sLower: string;
  begin
    sString := "HeLlÖ wOrLd!";
    write("string = "); write(sString); writeln;

    // convert string to lowercase
    sLower := StrlwrEx(sString);
    write("string = "); write(sString); writeln;
    write("lower  = "); write(sLower); writeln;
  end TStrlwrEx;

Output

string = HeLlÖ wOrLd!
string = hellö world!
lower  = hellö world!