Fix strrpos
Add some comments
Merge pull request #4337 from openscholar/3258

Fix strrpos