53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
* length.
*
* \param str A UTF-8 encoded C string to initialize the OFString with
* \param len The length of the string
* \return A new autoreleased OFString
*/
+ stringWithCString: (const char*)str
andLength: (size_t)len;
/**
* Creates a new OFString from a format string.
* See printf for the format syntax.
*
* \param fmt A string used as format to initialize the OFString
* \return A new autoreleased OFString
|
|
|
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
* length.
*
* \param str A UTF-8 encoded C string to initialize the OFString with
* \param len The length of the string
* \return A new autoreleased OFString
*/
+ stringWithCString: (const char*)str
length: (size_t)len;
/**
* Creates a new OFString from a format string.
* See printf for the format syntax.
*
* \param fmt A string used as format to initialize the OFString
* \return A new autoreleased OFString
|
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
* the specified length.
*
* \param str A UTF-8 encoded C string to initialize the OFString with
* \param len The length of the string
* \return An initialized OFString
*/
- initWithCString: (const char*)str
andLength: (size_t)len;
/**
* Initializes an already allocated OFString with a format string.
* See printf for the format syntax.
*
* \param fmt A string used as format to initialize the OFString
* \return An initialized OFString
*/
- initWithFormat: (OFString*)fmt, ...;
/**
* Initializes an already allocated OFString with a format string.
* See printf for the format syntax.
*
* \param fmt A string used as format to initialize the OFString
* \param args The arguments used in the format string
* \return An initialized OFString
*/
- initWithFormat: (OFString*)fmt
andArguments: (va_list)args;
/**
* Initializes an already allocated OFString with another string.
*
* \param str A string to initialize the OFString with
* \return An initialized OFString
*/
|
|
|
|
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
* the specified length.
*
* \param str A UTF-8 encoded C string to initialize the OFString with
* \param len The length of the string
* \return An initialized OFString
*/
- initWithCString: (const char*)str
length: (size_t)len;
/**
* Initializes an already allocated OFString with a format string.
* See printf for the format syntax.
*
* \param fmt A string used as format to initialize the OFString
* \return An initialized OFString
*/
- initWithFormat: (OFString*)fmt, ...;
/**
* Initializes an already allocated OFString with a format string.
* See printf for the format syntax.
*
* \param fmt A string used as format to initialize the OFString
* \param args The arguments used in the format string
* \return An initialized OFString
*/
- initWithFormat: (OFString*)fmt
arguments: (va_list)args;
/**
* Initializes an already allocated OFString with another string.
*
* \param str A string to initialize the OFString with
* \return An initialized OFString
*/
|
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
|
- setToCString: (const char*)str;
- appendCString: (const char*)str;
- appendCString: (const char*)str
withLength: (size_t)len;
- appendCStringWithoutUTF8Checking: (const char*)str;
- appendCStringWithoutUTF8Checking: (const char*)str
andLength: (size_t)len;
- appendString: (OFString*)str;
- appendWithFormat: (OFString*)fmt, ...;
- appendWithFormat: (OFString*)fmt
andArguments: (va_list)args;
- reverse;
- upper;
- lower;
- replaceOccurrencesOfString: (OFString*)str
withString: (OFString*)repl;
- removeLeadingWhitespaces;
- removeTrailingWhitespaces;
|
|
|
|
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
|
- setToCString: (const char*)str;
- appendCString: (const char*)str;
- appendCString: (const char*)str
withLength: (size_t)len;
- appendCStringWithoutUTF8Checking: (const char*)str;
- appendCStringWithoutUTF8Checking: (const char*)str
length: (size_t)len;
- appendString: (OFString*)str;
- appendWithFormat: (OFString*)fmt, ...;
- appendWithFormat: (OFString*)fmt
arguments: (va_list)args;
- reverse;
- upper;
- lower;
- replaceOccurrencesOfString: (OFString*)str
withString: (OFString*)repl;
- removeLeadingWhitespaces;
- removeTrailingWhitespaces;
|