Functions:capitalize

From Dwoo Docs

Jump to: navigation, search

Uppercases the first letter of each word in the given string

capitalize(string $value [, bool $numwords = false ] )
  • value : string to capitalize
  • numwords : whether or not to capitalize words with numbers




Example:

{capitalize('this is a string what2')}

Output:

This Is A String what2
Personal tools
templates
page language

French

The article you want to access doesn't exist in French.
Deutsch
The article you want to access doesn't exist in Deutsch.
Russian
The article you want to access doesn't exist in Russian.