quote: Original post by OluseyiOriginal post by GarlandIX
If there was a way to extract the information after the / into a vaiable instead, that would be great. Does anyone have any ideas because im stumped.
a.) See my post. C++, clean, efficient, and returns an array containing all the tokens (which you can then play with as you see fit).
b.) str[n]cpy.
[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! | Asking Smart Questions ]
Thanks to Kylotan for the idea! [/q]
Notice how i said i was using c-style strings before. I do not want to use STL because i do not know enough about it to feel confident when using it. Let me repeat this: I am using c-style strings, and i am looking for a simple way to extract the values before and after the slash into separate variables.
——————————
This pisses benjamin bunny off->If someone asks you "A penny for your thoughts" and you put your two cents in, do you get change?