C: Take parts from a string without a delimeter (using strstr) : I have a string, for example: "Error_*_code_break_*_505_*_7.8"
I need to split the string with a loop by the delimeter "_*_" using the strstr function and input all parts into a new array, let's call it - 
char elements[4] = {"Error", "code_break", "505", "7.8"}

but strstr only gives me a pointer to a char, any help?

note: the second string "code_break" should still contain "_", or in any other case.

