@CAPS[["xxx"],text] : Capitalizes the first letter of each word in the string (words that do not start with a letter remain unchanged). The optional first parameter, xxx, specifies the separators that you wish to use. The list must be enclosed in double quotes. If you want to use a double quote as a separator, prefix it with the Escape Character.




echo %@caps[" ",i love take command]

I Love Take Command


echo %@caps[",",peter,paul,mary]



echo %@caps[" ^"","sacrebleu!", he said]

"Sacrebleu!", He Said