How to slice/split a string by delimiter

Just use strtok (STRing TOKen).