capitalize

convert given string to capitalized


Parameters

capitalize string :char :string :literal

Returns

  • :char
  • :string
  • or  :nothing

Examples

copy
print capitalize "hello World" ; "Hello World"

copy
str: "hello World" capitalize 'str ; str: "Hello World"

Related