diff --git a/Documentation/gsdoc/NSMutableString.gsdoc b/Documentation/gsdoc/NSMutableString.gsdoc
index 4e160e67d..7d6d6223f 100644
--- a/Documentation/gsdoc/NSMutableString.gsdoc
+++ b/Documentation/gsdoc/NSMutableString.gsdoc
@@ -62,6 +62,20 @@
+
+ replaceString:
+ aString
+ withString:
+ replacement
+
+ 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:
aString
diff --git a/Documentation/gsdoc/NSMutableString.html b/Documentation/gsdoc/NSMutableString.html
index b71b17e2c..7e3d71383 100644
--- a/Documentation/gsdoc/NSMutableString.html
+++ b/Documentation/gsdoc/NSMutableString.html
@@ -30,7 +30,8 @@
-initWithCapacity:
-insertString:
-replaceCharactersInRange:withString:
--setString:
+-replaceString:withString:
+-setString:
@@ -68,7 +69,18 @@
-
+
+- (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.
+
+
+
- (void) setString: (NSString*)aString;
diff --git a/Documentation/gsdoc/NSString.gsdoc b/Documentation/gsdoc/NSString.gsdoc
index db032f237..185e68d8e 100644
--- a/Documentation/gsdoc/NSString.gsdoc
+++ b/Documentation/gsdoc/NSString.gsdoc
@@ -479,12 +479,18 @@
rangeOfString:
aString
+ Invokes rangeOfString:options: with the options mask
+ set to zero.
rangeOfString:
aString
+ options:
+ mask
+ Invokes rangeOfString:options:range with the range set
+ set to the range of the whole of the reciever.
@@ -495,6 +501,25 @@
range:
aRange
+ Returns the range giving the location and length of the first
+ occurrence of subString within aRange.
+
+ If subString does not exist in the receiver (an empty
+ string is never considered to exist in the receiver),
+ the length of the returned range is zero.
+
+ If substring is nil, an exception is raised.
+
+ If any part of aRange lies outside the range of the
+ receiver, an exception is raised.
+
+ The optionsm mask may contain the following options -
+
+ - NSCaseInsensitiveSearch
+ - NSLiteralSearch
+ - NSBackwardsSearch
+ - NSAnchoredSearch
+
@@ -546,6 +571,20 @@
+
+ stringByReplacingString:
+ aString
+ withString:
+ replacement
+
+ Returns a string in which any (and all) occurrances of
+ aString in the receiver have been replaced by
+ replacement. Returns the receiver if aString
+ does not occur within the receiver. NB. an empty string is
+ not considered to exist within the receiver.
+
+
+
stringsByAppendingPaths:
paths
diff --git a/Documentation/gsdoc/NSString.html b/Documentation/gsdoc/NSString.html
index a0776bd91..7311d75a0 100644
--- a/Documentation/gsdoc/NSString.html
+++ b/Documentation/gsdoc/NSString.html
@@ -43,8 +43,8 @@ A constant NSString can be created using the following syntax: @"..."+localizedStringWithFormat:
+pathWithComponents:
+string
-+stringWithCString:
+stringWithCString:
++stringWithCString:
+stringWithCharacters:length:
+stringWithContentsOfFile:
+stringWithFormat:
@@ -106,7 +106,7 @@ A constant NSString can be created using the following syntax: @"..."-rangeOfCharacterFromSet:options:range:
-rangeOfComposedCharacterSequenceAtIndex:
-rangeOfString:
--rangeOfString:
+-rangeOfString:options:
-rangeOfString:options:range:
-smallestEncoding
-stringByAbbreviatingWithTildeInPath
@@ -117,12 +117,13 @@ A constant NSString can be created using the following syntax: @"..."-stringByDeletingLastPathComponent
-stringByDeletingPathExtension
-stringByExpandingTildeInPath
--stringsByAppendingPaths:
--substringFromIndex:
--substringToIndex:
--substringWithRange:
--uppercaseString
--writeToFile:atomically:
+-stringByReplacingString:withString:
+-stringsByAppendingPaths:
+-substringFromIndex:
+-substringToIndex:
+-substringWithRange:
+-uppercaseString
+-writeToFile:atomically:
@@ -487,16 +488,40 @@ Returns the localized name of the encoding specified by encoding.
- (NSRange) rangeOfString: (NSString*)aString;
+ Invokes rangeOfString:options: with the options mask
+ set to zero.
-
-- (NSRange) rangeOfString: (NSString*)aString;
+
+- (NSRange) rangeOfString: (NSString*)aString options: (unsigned int)mask;
+ Invokes rangeOfString:options:range with the range set
+ set to the range of the whole of the reciever.
- (NSRange) rangeOfString: (NSString*)subString options: (unsigned int)mask range: (NSRange)aRange;
+ Returns the range giving the location and length of the first
+ occurrence of subString within aRange.
+
+ If subString does not exist in the receiver (an empty
+ string is never considered to exist in the receiver),
+ the length of the returned range is zero.
+
+ If substring is nil, an exception is raised.
+
+ If any part of aRange lies outside the range of the
+ receiver, an exception is raised.
+
+ The optionsm mask may contain the following options -
+
+- NSCaseInsensitiveSearch
+
- NSLiteralSearch
+
- NSBackwardsSearch
+
- NSAnchoredSearch
+
+
@@ -544,32 +569,43 @@ Returns the localized name of the encoding specified by encoding.
-
+
+- (NSString*) stringByReplacingString: (NSString*)aString withString: (NSString*)replacement;
+Standards: GNUstep NotMacOS-X NotOpenStep
+
+ Returns a string in which any (and all) occurrances of
+ aString in the receiver have been replaced by
+ replacement. Returns the receiver if aString
+ does not occur within the receiver. NB. an empty string is
+ not considered to exist within the receiver.
+
+
+
- (NSArray*) stringsByAppendingPaths: (NSArray*)paths;
-
+
- (NSString*) substringFromIndex: (unsigned int)anIndex;
-
+
- (NSString*) substringToIndex: (unsigned int)anIndex;
-
+
- (NSString*) substringWithRange: (NSRange)aRange;
-
+
- (NSString*) uppercaseString;
-
+
- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)flag;