PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
SEARCH MATHEMATICA 8 DOCUMENTATION
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
Mathematica
>
Core Language
>
String Manipulation
>
Character Operations
>
Built-in
Mathematica
Symbol
Characters in Strings
Tutorials »
|
UpperCaseQ
ToLowerCase
StringReplace
IgnoreCase
See Also »
|
Character Operations
String Manipulation
More About »
ToUpperCase
ToUpperCase
[
string
]
yields a string in which all letters have been converted to uppercase.
MORE INFORMATION
ToUpperCase
handles both ordinary and special characters.
Variant lowercase characters such as
\[CurlyPhi]
are converted to their non-variant uppercase forms.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Convert characters in a string to uppercase:
Convert characters in a string to uppercase:
In[1]:=
Out[1]=
Scope
(5)
Everything other than lowercase letters is left unchanged:
ToUpperCase
threads itself element-wise over lists:
Accented characters:
Greek letters:
Script letters:
Possible Issues
(2)
The uppercase form of the German ß character is a pair of characters:
ToLowerCase
does not give back the original character:
For a few characters,
ToLowerCase
is not the inverse of
ToUpperCase
:
Neat Examples
(2)
Check that the German ß character is the only one to have a multicharacter uppercase form:
Find the names of characters for which
ToLowerCase
is not the inverse of
ToUpperCase
:
SEE ALSO
UpperCaseQ
ToLowerCase
StringReplace
IgnoreCase
TUTORIALS
Characters in Strings
MORE ABOUT
Character Operations
String Manipulation
RELATED LINKS
Demonstrations with ToUpperCase
(
Wolfram Demonstrations Project
)
New in 2 | Last modified in 3