- Output field: Returns a string with the first character of each word capitalized, if that character is alphabetic.
<ucwords>expression</ucwords>
Parameters
expression
A valid BrainXML expression.
Examples
Example 1. Without ucwords
- My favorite movie is *
- Many people like
<s/>
.
- My favorite movie is Star wars.
- Many people like Star wars.
Example 2. With ucwords
- My favorite movie is *
- Many people like
<ucwords><s/></ucwords>
.
- My favorite movie is Star wars.
- Many people like Star Wars.
Notes
- s element returns text with capitalization same as the user message.
- See also ucfirst.