ucwords

Returns a string with the first character of each word in a variable value capitalized, if that character is alphabetic. This function doesn't expect any parameters.

@{ variable | ucwords }

Example

The ucwords filter can for example be used to convert a filename into a title as follows:

@{ :basename | stripEnd ('.png') | ucwords }
strtoupper Functions