Difference between revisions of "Capitalize"
From SCAR Divi Manual
(→Definition) |
(→Description) |
||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | Capitalizes a [[string]] '''S''' by changing it completely to lower-case and then changing the first letter of each word to upper-case. | + | Capitalizes a [[AnsiString|string]] '''S''' by changing it completely to lower-case and then changing the first letter of each word to upper-case. |
==Example== | ==Example== |
Revision as of 11:27, 26 June 2011
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!