Added "string_index", which is consistent with "index" in Perl.