mes: Add string-rindex.