Thread umwandeln string in array (9 answers)
Opened by Gast at 2007-05-16 19:38

shigetsu
 2007-06-06 02:14
#11558 #11558
User since
2007-04-22
16 Artikel
BenutzerIn
[Homepage] [default_avatar]
[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.

View full thread umwandeln string in array