Returns a new string containing the characters of the receiver up to, but not including, the one at a given index.
Original signature is '- (NSString *)substringToIndex:(NSUInteger)anIndex'
Available in Mac OS X v10.0 and later.
- anIndex (NSUInteger)
- An index. The value must lie within the bounds of the receiver, or be equal to the length of the receiver.
A new string containing the characters of the receiver up to, but not including, the one at anIndex. If anIndex is equal to the length of the string, returns a copy of the receiver.
Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)