@@ -2038,18 +2038,10 @@ [new appendFormat: format arguments: arguments]; [new makeImmutable]; return new; } -- (OFString *)stringByPrependingString: (OFString *)string -{ - OFMutableString *new = [[string mutableCopy] autorelease]; - [new appendString: self]; - [new makeImmutable]; - return new; -} - - (OFString *)stringByReplacingOccurrencesOfString: (OFString *)string withString: (OFString *)replacement { OFMutableString *new = [[self mutableCopy] autorelease]; [new replaceOccurrencesOfString: string withString: replacement];