Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

Capitalize

Capitalize[string]
yields a string in which the first character has been made upper case.

DetailsDetails

  • Capitalize handles both ordinary and special characters.
  • Variant lowercase characters such as \[CurlyPhi] are converted to their nonvariant uppercase forms.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Capitalize the first character of a string:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Capitalize letters of the Greek alphabet:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2015
(10.1)