Skip to content

tm_title Function

tm_title converts the first letter of each word in the given string to uppercase.

Examples

sh
tm_title("hello world")
Hello World

This function uses Unicode's definition of letters and of upper- and lowercase.

  • tm_upper converts all letters in a string to uppercase.
  • tm_lower converts all letters in a string to lowercase.