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 }
Taken form the Working with Images tutorial, ucwords
is used here to create capitalized card titles from basenames:
@{ :basename | stripEnd ('.png') | ucwords }