ucwords
Uppercase the first character of each word in a string
[...] = optional ... = your value
[var $... = ]call ucwords $val=...
Example code
Show in textarea<!--parser:xtscript-->
var $input = foo bar
var $output = call ucwords $val=$input
print input = $input<br />
print output = $output
<!--/parser:xtscript-->
Show in textarea Example output
Reloadinput = foo bar
output = Foo Bar