Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
StringTools[LowerCase] - change each alphabetic character in a string to lowercase
StringTools[UpperCase] - change each alphabetic character in a string to uppercase
StringTools[OtherCase] - change each alphabetic character in a string to the alternate case
Calling Sequence
LowerCase( s, rng )
UpperCase( s, rng )
OtherCase( s, rng )
Parameters
s
-
Maple string
rng
(optional) integer range
Description
The LowerCase(s) calling sequence changes each alphabetic character in the string s to lowercase and returns the result in a new string. The string s remains unchanged.
The UpperCase(s) calling sequence changes each alphabetic character in the string s to uppercase and returns the result in a new string. The string s remains unchanged.
The OtherCase(s) calling sequence changes each alphabetic character in the string s to the opposite case and returns the result in a new string. The string s remains unchanged.
See StringTools[IsLower] and StringTools[IsUpper] for definitions of lower and uppercase characters.
These commands all accept an optional, second argument rng, a range that specifies a substring of the input s to be affected by the operation. Only characters within the given range are changed.
Examples
Note that LowerCase and UpperCase are not mutual inverses.
However, LowerCase(UpperCase(Lowercase(s))) = LowerCase(s) for every s.
The OtherCase command is an involution.
See Also
string, StringTools, StringTools[Capitalize]
Download Help Document