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

Graph-Browser

About this article
Last change 2018-05-23
Topics FrontendFunctionsStructr 2.0