hi i have an array which is like the following which will be inputted at by the user in another pc and i wil get it through sockets....
i just want to find the field after married:
i tried using strtok
but it will only give me values before "single" .....i just need the value after married and before dob i.e. "single"
i am using c programming in linux
can anyone help me