Codified use of Rational() as index.
Changed the way sub-strings are returned.