Convert all string characters into CAPITAL LETTERS of the upper case. The function works with UNICODE.

 

Syntax

function AnsiUpperCase(sSt: string): string;

 

Parameter

Type

Value

sSt

string

source string.

 

Example


const
  sSt = #13#10+
        'This is my letter to the World' + #13#10 +
        'That never wrote to Me' + #13#10 +
        'The simple News that Nature told' + #13#10 +
        'With tender Majesty';
begin 
  mLogScript('Original string: ' + sSt, '');
  mLogScript(AnsiUpperCase(sSt), '');
end.


Script work result

[12:50:19] (Log "AnsiUpperCase"): Original string:

This is my letter to the World

That never wrote to Me

The simple News that Nature told

With tender Majesty

[12:50:19] (Log "AnsiUpperCase"):

THIS IS MY LETTER TO THE WORLD

THAT NEVER WROTE TO ME

THE SIMPLE NEWS THAT NATURE TOLD

WITH TENDER MAJESTY

[12:50:19] (Run "AnsiUpperCase"): Script operation time: 7 ms

[12:50:19] (Run "AnsiUpperCase"): Script done successfully.

 

See also

mLogScript

Created with the Personal Edition of HelpNDoc: Leave the tedious WinHelp HLP to CHM conversion process behind with HelpNDoc