ucfirst

  • Output field: Returns a string with the first character capitalized, if that character is alphabetic.
<ucfirst>expression</ucfirst>

Parameters

expression

A valid BrainXML expression.

Examples

Example 1. Without ucfirst

    • I like *
    • <s/> is nice.
    • I like blue.
    • blue is nice.

Example 2. With ucfirst

    • I like *
    • <ucfirst><s/> is nice. </ucfirst>
    • I like blue.
    • Blue is nice.

Notes

  • s element returns text with capitalization same as the user message.
  • See also ucwords.