Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

strtok() happily punches those holes in. Now you could argue, the resulting strings, while null-terminated, aren't true substrings (as the origin string is now corrupted), but in the context of parsing (particularly here using white-space as delimiter), that wouldn't be much an issue.
 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: