[quote=esskar,18.05.2007, 14:10]strtok find ich dafür ganz nett![/quote]
Ja, aber man bedenke hierzu:
Quote
Because strtok() modifies it's argument, the string is subsequently unsafe and cannot be used in its original form. If you need to preserve the original string, copy it into a buffer and pass the address of the buffer to strtok() instead of the original string.