indexOf replaced by lastIndexOf