upfirst
Summary
Returns the input string with a capitalized initial letter.
Usage
input|upfirst()
Returns
The input string with a capitalized initial letter.
Description
This operator converts the first character of the input string to a capital letter. The resulting string is returned.
Examples
Example 1
{'good bye!'|upfirst()}The following string will be returned: "Good bye!".
Contributors
- Balazs Halasy Updated
Comments
Add a comment