{"json_modified": "2016-09-05T03:57:56.229339", "uuid": "c51eea5b-ea28-4559-a071-b1352659bad8", "title": "String.prototype.lastIndexOf()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf", "tags": ["Reference", "Prototype", "String", "Method", "JavaScript"], "translations": [{"uuid": "ab782b8e-ab3a-4f35-b359-a07eb4900717", "title": "String.prototype.lastIndexOf()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf", "tags": [], "summary": "Die lastIndexOf()
Methode gibt den Index des letzten Vorkommnisses des angegebenen Wertes innerhalb des aufrufenden Strings
Objekts zur\u00fcck, oder -1, wenn der Wert nicht gefunden wurde. Der aufrufende String wird r\u00fcckw\u00e4rts durchsucht, beginnend beim fromIndex
.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2016-09-02T06:10:04", "review_tags": []}, {"uuid": "16d79511-8429-4db5-b9e3-81924187ade5", "title": "String.prototype.lastIndexOf()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/String/lastIndexOf", "tags": ["Prototype", "String", "Method", "JavaScript"], "summary": "El \u00a0m\u00e9todo\u00a0lastIndexOf()\u00a0
devuelve\u00a0
la posicion (indice) en la que se encuentra el valorBusqueda,\u00a0dentro del objeto String
que realiza la llamada, de la \u00faltima ocurrencia del valor especificado; o -1 si no se halla. La b\u00fasqueda se realiza empezando por el final de la cadena que realiza la llamada, empezando en indiceDesde
.", "localization_tags": [], "locale": "es", "last_edit": "2016-06-08T11:51:04", "review_tags": []}, {"uuid": "c6f1caa3-166f-4158-87ae-c1463e029af0", "title": "String.prototype.lastIndexOf()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/lastIndexOf", "tags": ["M\u00e9thode", "R\u00e9f\u00e9rence", "Prototype", "String", "JavaScript"], "summary": "La m\u00e9thode lastIndexOf()
renvoie l'indice, dans la cha\u00eene courante, de la derni\u00e8re occurence de la valeur donn\u00e9e en argument. Si cette sous-cha\u00eene n'est pas trouv\u00e9e, la m\u00e9thode renvoie -1. La recherche s'effectue de la fin vers le d\u00e9but de la cha\u00eene, \u00e0 partir de indiceD\u00e9but
.", "localization_tags": [], "locale": "fr", "last_edit": "2016-09-05T03:57:46", "review_tags": []}, {"uuid": "38a0d9ee-1f9f-429a-97d8-d422e05597a3", "title": "String.prototype.lastIndexOf()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf", "tags": ["\u8981\u66f4\u65b0"], "summary": "\u547c\u3073\u51fa\u3059 String
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u4e2d\u3067\u3001\u6307\u5b9a\u3055\u308c\u305f\u5024\u304c\u6700\u5f8c\u306b\u73fe\u308c\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002\u5024\u304c\u898b\u3064\u3051\u3089\u308c\u306a\u3044\u5834\u5408\u3001-1 \u3092\u8fd4\u3057\u307e\u3059\u3002\u547c\u3073\u51fa\u3059\u6587\u5b57\u5217\u306f\u3001fromIndex
\u304b\u3089\u691c\u7d22\u3092\u59cb\u3081\u3001\u9006\u65b9\u5411\u306b\u691c\u7d22\u3055\u308c\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-06-19T17:14:52", "review_tags": []}, {"uuid": "b0fadd70-3e5a-413b-9a26-2fa3cd6f7b1f", "title": "String.prototype.lastIndexOf()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf", "tags": ["String", "Reference", "Prototype", "JavaScript", "Method"], "summary": "lastIndexOf()
\uba54\uc11c\ub4dc\ub294 String
\uc624\ube0c\uc81d\ud2b8\uc5d0\uc11c fromIndex
\ub85c\ubd80\ud130 \ubc18\ub300\ubc29\ud5a5\uc73c\ub85c \ucc3e\uae30 \uc2dc\uc791\ud558\uc5ec \ud2b9\uc815 \uac12\uc774 \uc77c\uce58\ud558\ub294 \ub9c8\uc9c0\ub9c9 \uc778\ub371\uc2a4\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4. \ubb38\uc790\uc5f4\uc5d0\uc11c \uc77c\uce58\ud558\ub294 \ud2b9\uc815 \uac12\uc774 \uc5c6\uc73c\uba74 -1
\uc744 \ub9ac\ud134\ud569\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-05-11T16:36:27", "review_tags": []}, {"uuid": "994f618f-74a2-449e-908d-94fe679a8ffe", "title": "String.prototype.lastIndexOf()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf", "tags": [], "summary": "O m\u00e9todo lastIndexOf()
\u00a0retorna o \u00edndice da \u00faltima ocorr\u00eancia do valor especificado encontrado na\u00a0String
, pesquisando de tr\u00e1s para frente a partir\u00a0de\u00a0fromIndex
. Retorna\u00a0-1 se o valor n\u00e3o for encontrado.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-02-04T10:38:11", "review_tags": ["editorial"]}, {"uuid": "b09e77df-6c0f-4840-ab51-920fdc5b70a1", "title": "String.prototype.lastIndexOf()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf", "tags": ["String", "Reference", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 lastIndexOf()
\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u043d\u0434\u0435\u043a\u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 String
, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d \u0431\u044b\u043b \u0432\u044b\u0437\u0432\u0430\u043d, \u0438\u043b\u0438 -1, \u0435\u0441\u043b\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e. \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0435 \u0432\u0435\u0434\u0451\u0442\u0441\u044f \u043e\u0442 \u043a\u043e\u043d\u0446\u0430 \u043a \u043d\u0430\u0447\u0430\u043b\u0443, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u0430 fromIndex
.", "localization_tags": [], "locale": "ru", "last_edit": "2014-11-14T01:46:32", "review_tags": []}, {"uuid": "c29c46af-a106-452d-ba7a-21a1511c3442", "title": "String.prototype.lastIndexOf()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf", "tags": [], "summary": "lastIndexOf()
\u00a0\u65b9\u6cd5\u8fd4\u56de\u6307\u5b9a\u503c\u5728\u8c03\u7528\u8be5\u65b9\u6cd5\u7684\u5b57\u7b26\u4e32\u4e2d\u6700\u540e\u51fa\u73b0\u7684\u4f4d\u7f6e\uff0c\u5982\u679c\u6ca1\u627e\u5230\u5219\u8fd4\u56de\u00a0-1\u3002\u4ece\u8be5\u5b57\u7b26\u4e32\u7684\u540e\u9762\u5411\u524d\u67e5\u627e\uff0c\u4ece fromIndex
\u5904\u5f00\u59cb\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-10-29T04:34:23", "review_tags": []}], "modified": "2016-09-02T06:12:35", "label": "String.prototype.lastIndexOf()", "localization_tags": [], "locale": "en-US", "id": 5090, "last_edit": "2016-09-02T06:12:28", "summary": "The lastIndexOf()
method returns the index within the calling String
object of the last occurrence of the specified value, searching backwards from\u00a0fromIndex
. Returns -1 if the value is not found.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "Case-sensitivity", "title": "Case-sensitivity"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_indexOf()_and_lastIndexOf()", "title": "Using "}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/String/lastIndexOf", "review_tags": []}