00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include <stdio.h>
00013 #include <stdarg.h>
00014
00015 #import "OFString.h"
00016
00020 @interface OFMutableString: OFString {}
00026 - (void)setToCString: (const char*)str;
00027
00033 - (void)appendCString: (const char*)str;
00034
00041 - (void)appendCString: (const char*)str
00042 withLength: (size_t)len;
00043
00053 - (void)appendCStringWithoutUTF8Checking: (const char*)str;
00054
00065 - (void)appendCStringWithoutUTF8Checking: (const char*)str
00066 length: (size_t)len;
00067
00073 - (void)appendString: (OFString*)str;
00074
00081 - (void)appendFormat: (OFString*)fmt, ...;
00082
00090 - (void)appendFormat: (OFString*)fmt
00091 withArguments: (va_list)args;
00092
00096 - (void)reverse;
00097
00101 - (void)upper;
00102
00106 - (void)lower;
00107
00115 - (void)removeCharactersFromIndex: (size_t)start
00116 toIndex: (size_t)end;
00117
00123 - (void)removeCharactersInRange: (of_range_t)range;
00124
00131 - (void)replaceOccurrencesOfString: (OFString*)str
00132 withString: (OFString*)repl;
00133
00137 - (void)removeLeadingWhitespaces;
00138
00142 - (void)removeTrailingWhitespaces;
00143
00147 - (void)removeLeadingAndTrailingWhitespaces;
00148 @end