Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while(input_str[pos] != '\0' && !strchr(delimiters, input_str[pos]))
- new_str[j++] = input_str[pos++];
- --------------------------------------------
- while(input_str[pos] != '\0' && !strchr(delimiters, input_str[pos]))
- {
- new_str[j] = input_str[pos];
- j++;
- pos++;
- }
Advertisement
Add Comment
Please, Sign In to add comment