I am trying to tokenize a continuous string sin(45)-20 with no blank spaces or separators.
I want the result as sin ( 45 ) - 20.
Is there any way to do it? I learnt about strtok() but it requires a separator like a blank space or any character.
I am unable to figure it out.