Prototype
StrOutput:= MixedCase(StrInput)
Description
It returns the same shown string by converting in upper-case every word initials as well as by convertine the rest in lower-case.
Parameters
StrInput: input string.
Returned value
StrOutput: output string.
Notes
None.
Example
// It opens a text file
UnFile:=TextFileOpen('c:\documents\letter.txt',false);
// It reads a line from file
Text:=TextFileReadln(UnFile);
// It shows a message with the read text
ApplicationLog(_CurrentAgent,'File contains the following text: ' + Text);
// It returns the modified string
NewText=Mixedcase(Text);
// It shows a message with the modified read text
ApplicationLog(_CurrentAgent,'Here it is the modified text: ' + NewText);
// It closes the file
FileClose(UnFile);