Add s.index and s.rindex transformations
Merge pull request #125 from rrb3942/index_trans

Add s.index and s.rindex transformations