Converting string characters to uppercase.
function UpperCase(sSt: string): string;
Parameter |
Type |
Value |
---|---|---|
sSt |
string |
source string. |
Returns the string in uppercase.
const
sSt = 'In the town where I was born, lived a man who sailed to sea.';
begin
mLogScript('Original string: "' + sSt + '"', '');
mLogScript(UpperCase(sSt), '');
end.
[14:09:58] (Log "UpperCase"): Original string: "In the town where I was born, lived a man who sailed to sea."
[14:09:58] (Log "UpperCase"): IN THE TOWN WHERE I WAS BORN, LIVED A MAN WHO SAILED TO SEA.