i have an array of char that looks like this:
"This_is_my_example_string"
im splitting the string on every "_" character , but also i want to find the position After the last "_" character and store it on an integer variable
how can i do that?
Code:Splits = strtok( cBuffer, "_" ); while( Splits != NULL ) { Splits = strtok( NULL, "_" ); }




Reply With Quote