Skip to content

proper

Capitalize the first letter of each word.

v = proper(text)

Returns text with the first letter of each word capitalized and other letters lowercased. “Words” are separated by whitespace and most punctuation.

proper('hello world') % 'Hello World'
  • upper — Convert string to uppercase.
  • lower — Convert string to lowercase.