So, I'm asking a user to input a fraction in the form of this:
+3 3/4
I know I can use a search to find where the first instance of something happens, but how do I actually take whats before it? Example: I can tell it to search for white space, but how can I tell it to grab what is before it and save it into a variable?
Would it be easier to use an array of characters or can a string work?