You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

titleize()

Usage

titleize(string[, separatorChars = " "])

Description
Titleizes the given string. The given string is split at the separatorChars and each ‘word’ is titleized.

Example

${titleize('structr')}
${titleize('structr-support', '-')}
${titleize('structr-support/knowledge-base', '-/')}

results in

Structr
Structr Support
Structr Support Knowledge Base

Search results for "titleize()"

titleize()

Titleizes the given string. The given string is split at the separatorChars and each ‘word’ is titleized.

titleize(string[, separatorChars = " "])