Having issue storing the 3rd value in a pipe delimited string. dont care about the rest of the text... just want to choose the field i want and ignore rest. I hear strtok has some limitations where it would skip a field if it was blank... Dont want to have that possibility. Please Help!
Example: values = "1||3|NEED|4|5|"
I want to be able to parse out only the field after the 3rd pipe and store that field in a variable (OR after whatever pipe i choose)