controller.commands.add.ElementTypes.title

ElementTypes.title()

Return a version of the string where each word is titlecased.

More specifically, words start with uppercased characters and all remaining cased characters have lower case.