Capitalize

From SCAR Divi Manual
Revision as of 16:13, 25 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <func>function Capitalize(S: AnsiString): AnsiString;</func> ==Availability== SCAR Divi 3.00 > Current ==Description== Capitalizes a string '''S''' by changi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

<func>function Capitalize(S: AnsiString): AnsiString;</func>

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