Quote:
Originally posted by TribulationStaff
Isn't that exactly what indexof would use?
|
Yep. But there's more than one way to use something.
Quote:
|
It really sounds as if you want to do something very similar to what I am doing except in pieces rather than just in one step.
|
Either because you don't understand what indexof does or you can't see what I'm suggesting.
Indexof examines each character of the source string, looking for a match between it and the argument you provide. One by one. Like 64 little ifs.
That's not what I'm suggesting.
Once you've divided the string into ranges, you can do all the numerical manipulation with a couple of elements of arithmatic.