Capitalize

From SCAR Divi Manual
Revision as of 11:45, 18 September 2011 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Capitalize(const Str: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

Capitalizes a string Str 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