public static CharSequence getAt ( CharSequence text , Range range ) { RangeInfo info = subListBorders ( text . length ( ) , range ) ; CharSequence sequence = text . subSequence ( info . from , info . to ) ; return info . reverse ? reverse ( sequence ) : sequence ; }
Support the range subscript operator for CharSequence