I want to select a portion of a string. I do not want to select it from left to right but from right to left...

Example:

I want selstart to be at 6
and I want it to end at 3