Quote:
|
1. How I can replace letters in a variable? (login_packet) (~ to nothing)
|
You have to search for '~' (for example via strchr) and copy the whole string into a new one leaving out the found characters.
Quote:
2. How I can split the var login_packet? (with " ")
Thanks ..
|
Well, what do you mean?
Splitting one string that includes spaces into those substrings, seperated by the spaces?
If so, strtok may be of your interest.