Thank you for the advice xpi0t0s, I've managed to get the code working.
I've made a void to process the parsing, because not only one char had to be done but more. Also didn't use the strcat function but managed to do without, also added a null to the char at the end.

Works fine thank you again for the help/advice. Close ?