If I'm given a pointer to an array of chars, say
char *c = ....
and c points to an array of chars that looks like
0=A&1=B&2=C&3=D&4=E&5=F&6=G&7=H&8=I&9=J&10=K&11=L
How would I go about getting just the values in this query string, and turning it either into another char array or a std string that looks like this:
ABCDEFGHIJKL
Edit:
Also, I suppose you can convert the char array that c points to into a string first too, I'm just unsure how to parse the string.
Edit 2:
Also, what might be handy to know is that the value can be only 1 character long (so only 1 letter). However, the names (the numbers) can be however many digits long...