> > I need to get the last three characters in a string. I couldn't find a
> > function in the String class so I came up with this:
> >
> You can index strings from the right with negative numbers:
>
>    "abcdef"[-3..-1]   => "def"
>
> I think that might be all you need.

I see. Thank you very much for all the replies.

regards
Claus