MyChat Scripts Engine: UpperCase
Converting string characters to uppercase.
Syntax
function UpperCase(sSt: string): string;
Parameters and return values
Parameter |
Type |
Value |
sSt |
string |
source string. |
Function result
Returns the string in uppercase.
Example
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.
Script work result
[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.
See also
Created with the Personal Edition of HelpNDoc: Effortlessly Support Your Windows Applications with HelpNDoc's CHM Generation