I have a message which I receive in the rmsg
variable. If the first character in this buffer is '1', I want to remove this char and send the rest of the message.
So is there any way to do something like this:
if(rmsg[0]=='1')
//remove the first character in rmsg
strncpy(newbuf,rmsg,rmsglen)
If this is not the right direction could anyone show me how?