[Previous] [Up] [Next]

NSMutableString

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSMutableString

NSMutableString

Declared in: Foundation/NSString.h

Inherits from: NSString

Conforms to: NSCoding



stringWithCapacity:

+ (NSMutableString*) stringWithCapacity: (unsigned int)capacity;

appendFormat:

- (void) appendFormat: (NSString*)format,;

appendString:

- (void) appendString: (NSString*)aString;

deleteCharactersInRange:

- (void) deleteCharactersInRange: (NSRange)aRange;

initWithCapacity:

- (id) initWithCapacity: (unsigned int)capacity;

insertString:

- (void) insertString: (NSString*)aString;

replaceCharactersInRange:withString:

- (void) replaceCharactersInRange: (NSRange)aRange withString: (NSString*)aString;

replaceString:withString:

- (void) replaceString: (NSString*)aString withString: (NSString*)replacement;
Standards: GNUstep NotMacOS-X NotOpenStep
Replaces any (and all) occurrances of aString in the receiver by replacement. Has no effect if aString does not occur within the receiver. NB. an empty string is not considered to exist within the receiver.

setString:

- (void) setString: (NSString*)aString;