2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
10 strsep(char** string
, const char* delimiters
)
15 // find the end of the token
16 char* token
= *string
;
18 while (*end
!= '\0' && strchr(delimiters
, *end
) == NULL
)
21 // terminate the token and update the string pointer