Capitalize

From SCAR Divi Manual
Revision as of 12:27, 26 June 2011 by Freddy (talk | contribs) (Description)
Jump to: navigation, search

Definition

function Capitalize(S: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

Capitalizes a string S by changing it completely to lower-case and then changing the first letter of each word to upper-case.

Example

begin
  WriteLn(Capitalize('hello world!'));
end.

Output:

Hello World!

See Also