ucx/string.h

changeset 233
bd58fdde142d
parent 225
a1a068c2c4ef
child 250
b7d1317b138e
equal deleted inserted replaced
232:5f2d650eade7 233:bd58fdde142d
258 * If the string starts with the delimiter, the first item of the resulting 258 * If the string starts with the delimiter, the first item of the resulting
259 * array will be an empty string. 259 * array will be an empty string.
260 * 260 *
261 * If the string ends with the delimiter and the maximum list size is not 261 * If the string ends with the delimiter and the maximum list size is not
262 * exceeded, the last array item will be an empty string. 262 * exceeded, the last array item will be an empty string.
263 * In case the list size would be exceeded, the last array item will be the
264 * remaining string after the last split, <i>including</i> the terminating
265 * delimiter.
263 * 266 *
264 * <b>Attention:</b> The array pointer <b>AND</b> all sstr_t.ptr of the array 267 * <b>Attention:</b> The array pointer <b>AND</b> all sstr_t.ptr of the array
265 * items must be manually passed to <code>free()</code>. Use sstrsplit_a() with 268 * items must be manually passed to <code>free()</code>. Use sstrsplit_a() with
266 * an allocator to managed memory, to avoid this. 269 * an allocator to managed memory, to avoid this.
267 * 270 *

mercurial