- Inside Macintosh: Text /
- Chapter 5 - Text Utilities / Text Utilities Reference
- Routines
Modifying Characters and Diacritical Marks
This section provides details on text routines that you can use to modify the characters
in text:
- The
UpperString procedure converts any lowercase letters in a Pascal string to their uppercase equivalents. UpperString uses the Macintosh file system string-manipulation rules, which means that it only works properly for Roman characters with codes through $D8.
The following four routines use tables in the string-manipulation ('itl2') resource to perform their character-mapping operations. This allows you to customize their operation for different countries.
- The
LowercaseText procedure converts any uppercase characters in a text string into their lowercase equivalents, making use of the conversion rules for the specified script system.
- The
UppercaseText procedure converts any lowercase characters in a text string into their uppercase equivalents, making use of the conversion rules for the specified script system.
- The
StripDiacritics procedure strips diacritical characters from a text string, making use of the conversion rules for the specified script system.
- The
UppercaseStripDiacritics procedure strips diacritical marks and converts lowercase characters into their uppercase equivalents in a text string, making use of the conversion rules for the specified script system.
Subtopics
- UpperString
-
- LowercaseText
-
- UppercaseText
-
- StripDiacritics
-
- UppercaseStripDiacritics
-
© Apple Computer, Inc.
6 JUL 1996