UpperCase

Top  Previous  Next

Prototype

 

StrOutput:=UpperCase(strInput)

 

Description

 

Returns the string parameter but in upper case.

 

Parameters

 

StrInput:  input string.

 

Returned value

 

StrOutput:  output string.

 

Notes

 

None.

 

Example

 

// Open a text file

strFile:=('c:\documents\letter.txt',false);

 

// Read a line from file

text:=TextFileReadln(strFile);

 

// Log a message with the read text

ApplicationLog('File contains the following text: ' + text);

 

// Return in upper case

NewText=UpperCase(text);

 

// Log a message with the modified read text

ApplicationLog('Here it is the modified text : ' + NewText);

 

// Close the file

FileClose(strFile);