I don't think you understood.

The method Kelder showed and yours are the same (atleast if that position in the string is always there), but using the negative range is just shorter and quicker.