Difference between revisions of "Capitalize"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <func>function Capitalize(S: AnsiString): AnsiString;</func> ==Availability== SCAR Divi 3.00 > Current ==Description== Capitalizes a string '''S''' by changi...")
(No difference)

Revision as of 16:13, 25 June 2011

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