logo
Home XtGem- Templates- XtScript- bottom
Uppercase the first character of each word in a string
[...] = optional ... = your value
[var $... = ]call ucwords $val=...
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
Reload
input = foo bar
output = Foo Bar
Powered by XtGem
About us Contact Forum topÂ