Converts a string to uppercase format (and umlautes if required).
kernel.bdh
StruprEx( inout sString : string): string;
The string converted to uppercase.
Parameter | Description |
---|---|
sString | String to be converted. This parameter will contain the result string after the StrUprEx operation. |
dcltrans transaction TStruprEx var sString, sUpper: string; begin sString := "HeLlÖ wOrLd!"; write("string = "); write(sString); writeln; // convert string to uppercase sUpper := StruprEx(sString); write("string = "); write(sString); writeln; write("upper = "); write(sUpper); writeln; end TStruprEx;
string = HeLlÖ wOrLd! string = HELLÖ WORLD! upper = HELLÖ WORLD!