Capitalize(
string:string,
int:type
)
→ string
| 0 | capitalize first letter |
| 1 | capitalize all words |
| 2 | capitalize all words including file extensions |
Returns the capitalized version of string. By default, just the first letter is capitalized. Use the optional type parameter to select a different capitalization method.
Example:
Output( Capitalize("hello world", 1) );
--> Hello World