Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 5 - Text Utilities / Text Utilities Reference
Routines


Comparing Strings for Equality

This section describes text routines that you can use to determine whether two strings are equal.

Some of the routines operate on Pascal strings and others on text strings. Pascal strings are stored using standard Pascal string representation, which precedes the text characters with a length byte; these strings are limited to 255 bytes of data. Text strings do not use a length byte and can be up to 32 KB in length. Pascal strings are passed directly as parameters, while text strings are specified by an address value and an integer length value.


Subtopics
EqualString
IdenticalString
IdenticalText

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996