/* Flags passed to compare & rangeOf...: With a zero mask passed in, the searches are case sensitive, from the beginning, are non-anchored, and take Unicode floating diacritics and other non-visible characters into account.
/* Substrings: Get a substring of an existing string. This operation is often fast. The first two methods are implemented in terms of the third one.
*/
- (NSString *)substringFromIndex:(unsigned)from; /* From location to end of string */
- (NSString *)substringToIndex:(unsigned)to; /* From beginning of string to location - 1 */
- (NSString *)substringWithRange:(NSRange)range;
/* Comparison: Compare two strings. Possible options are: NSCaseInsensitiveSearch, NSLiteralSearch. If the range argument is provided, the specified range in the receiver is compared against the other string.
/* Finds the longest common prefix between the two strings. Returns the substring of the receiver. Possible options are: NSCaseInsensitiveSearch, NSLiteralSearch.
/* Default implementations of these methods might end up converting to Unicode and back in some cases; subclassers with non-Unicode backing stores might want to override some of these methods for added efficiency. */
/* Encoding in which this string can be expressed (with lossless conversion) in a quick manner (both this method and the conversion will be fast; space efficiency is a secondary issue).
*/
- (NSStringEncoding)fastestEncoding;
/* Encoding in which this string can be expressed (with lossless conversion) in a space efficient manner (this method and the conversion might be slow; however, it will indicate the most space efficient encoding).
*/
- (NSStringEncoding)smallestEncoding;
/* Contents in specified encoding, in the generic plain text format for
the encoding. This method will return nil if the conversion cannot be
performed. With this data and the encoding you can recreate the string
using the initFromData:encoding: method. The result of this method is
the only way you should make contents of strings persistent.
/* Some cover methods to return autoreleased strings. These methods are the simple way to create new strings. A more complete set of initialization methods is presented further below.
/* To please the compiler when it encounters @"..."
*/
#if !defined(_OBJC_NXSTRING_H_)
#if !defined(_OBJC_DEFINED_NXCONSTANTSTRING)
#define _OBJC_DEFINED_NXCONSTANTSTRING
@interface NXConstantString : NSSimpleCString
@end
#endif
#endif
#endif
/* NSConstantStrings are strings created by the compiler with the @" " construct. Upon encountering @" ", the compiler will take the characters between the quotes and create an NSConstantString instance.
Instances of NSConstantString cannot be created at runtime.
*/
@interface NSConstantString : NSSimpleCString
@end
// This is neccessary for the compiler, however it should never