I'm reading a string from a buffer, and at some point I need to stop and get the string of what I've read so far and get the size of this string, so let's say I've the string: "StackOverflow" and going to use "v" as my stop point, so I should have something like "StackO" as my result string.
The thing is, to count the size of it, I'm reading byte by byte, so when I get to the stop point, the register $t0 which is counting the size of it should have the value 6 in it. So, how can I create a string that has "Stack0" in it?