Capitalize
✖
Capitalize
Details

- Capitalize handles both ordinary and special characters.
- Variant lowercase characters such as \[CurlyPhi] are converted to their non‐variant uppercase forms.
- Capitalization schemes include:
-
"FirstWord" only the first word in a string "AllWords" each word in a string "LongWords" all words longer than three characters "TitleCase" capitalize all important words
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Capitalize the first character of a string:
In[1]:=1

✖
https://wolfram.com/xid/0fttdwi-lvw5n3
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0fttdwi-vx9t05
Out[2]=2

In[3]:=3

✖
https://wolfram.com/xid/0fttdwi-1q8kie
Out[3]=3

Capitalize letters of the Greek alphabet:
In[1]:=1

✖
https://wolfram.com/xid/0fttdwi-yob8sl
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0fttdwi-u3dobb
Out[2]=2

Use different capitalization schemes on the same string:
In[1]:=1

✖
https://wolfram.com/xid/0fttdwi-bpml63
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0fttdwi-kxfq5
Out[2]=2

In[3]:=3

✖
https://wolfram.com/xid/0fttdwi-dicdc9
Out[3]=3

In[4]:=4

✖
https://wolfram.com/xid/0fttdwi-icxsp
Out[4]=4

Scope (2)Survey of the scope of standard use cases
Capitalize automatically threads over lists:
In[1]:=1

✖
https://wolfram.com/xid/0fttdwi-sq2b9k
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0fttdwi-0b7jxo
Out[2]=2

"TitleCase" capitalization takes into account word position and part of speech:
In[1]:=1

✖
https://wolfram.com/xid/0fttdwi-uk6dy
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0fttdwi-poubrd
Out[2]=2

Wolfram Research (2015), Capitalize, Wolfram Language function, https://reference.wolfram.com/language/ref/Capitalize.html (updated 2017).
✖
Wolfram Research (2015), Capitalize, Wolfram Language function, https://reference.wolfram.com/language/ref/Capitalize.html (updated 2017).
Text
Wolfram Research (2015), Capitalize, Wolfram Language function, https://reference.wolfram.com/language/ref/Capitalize.html (updated 2017).
✖
Wolfram Research (2015), Capitalize, Wolfram Language function, https://reference.wolfram.com/language/ref/Capitalize.html (updated 2017).
CMS
Wolfram Language. 2015. "Capitalize." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/Capitalize.html.
✖
Wolfram Language. 2015. "Capitalize." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/Capitalize.html.
APA
Wolfram Language. (2015). Capitalize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Capitalize.html
✖
Wolfram Language. (2015). Capitalize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Capitalize.html
BibTeX
✖
@misc{reference.wolfram_2025_capitalize, author="Wolfram Research", title="{Capitalize}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/Capitalize.html}", note=[Accessed: 25-March-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_capitalize, organization={Wolfram Research}, title={Capitalize}, year={2017}, url={https://reference.wolfram.com/language/ref/Capitalize.html}, note=[Accessed: 25-March-2025
]}