{"json_modified": "2015-10-09T08:25:29.137628", "slug": "Web/JavaScript/Referencia/Objetos_globales/String/indexOf", "tags": ["Prototype", "String", "Method", "JavaScript"], "locale": "es", "title": "String.prototype.indexOf()", "translations": [{"title": "String.prototype.indexOf()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["Reference", "Prototype", "String", "Method", "JavaScript"], "summary": "The indexOf() method returns the index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex. Returns -1 if the value is not found.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-07-30T12:32:26", "review_tags": []}, {"title": "String.prototype.indexOf()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["String Methods", "String"], "summary": "\u547c\u3073\u51fa\u3059 String \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u4e2d\u3067\u3001\u6307\u5b9a\u3055\u308c\u305f\u5024\u304c\u6700\u521d\u306b\u73fe\u308c\u305f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002fromIndex \u304b\u3089\u691c\u7d22\u3092\u59cb\u3081\u3001\u5024\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u306f -1 \u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-14T08:06:25", "review_tags": []}, {"title": "String.prototype.indexOf()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/indexOf", "tags": ["String", "Reference", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "Method"], "summary": "La m\u00e9thode indexOf() renvoie l'indice de la premi\u00e8re occurence de la valeur cherch\u00e9e au sein de la cha\u00eene courante (\u00e0 partir de indexD\u00e9but). Elle renvoie -1 si la valeur cherch\u00e9e n'est pas trouv\u00e9e.", "localization_tags": [], "locale": "fr", "last_edit": "2015-09-01T07:58:46", "review_tags": []}, {"title": "String.prototype.indexOf()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["Prototype", "String", "Method", "JavaScript"], "summary": "The indexOf() method returns the index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex.\u00a0Returns -1 if the value is not found.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2014-09-04T23:21:04", "review_tags": []}, {"title": "String.prototype.indexOf()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": [], "summary": "indexOf()\u00a0\u65b9\u6cd5\u8fd4\u56de\u6307\u5b9a\u503c\u5728\u5b57\u7b26\u4e32\u5bf9\u8c61\u4e2d\u9996\u6b21\u51fa\u73b0\u7684\u4f4d\u7f6e\u3002\u4ece\u00a0fromIndex\u00a0\u4f4d\u7f6e\u5f00\u59cb\u67e5\u627e\uff0c\u5982\u679c\u4e0d\u5b58\u5728\uff0c\u5219\u8fd4\u56de -1\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-07-28T05:53:23", "review_tags": []}, {"title": "String.prototype.indexOf()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["String", "Reference", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 indexOf() \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u043d\u0434\u0435\u043a\u0441 \u043f\u0435\u0440\u0432\u043e\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, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u0430 fromIndex. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 -1, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e.", "localization_tags": [], "locale": "ru", "last_edit": "2015-01-30T03:33:03", "review_tags": []}, {"title": "String.prototype.indexOf()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": [], "summary": "Die indexOf() Methode gibt den Index der Zeichenkette innerhalb des aufrufenden String Objekts des ersten Vorkommnis des angegebenen Wertes beginnend bei fromIndex. Gibt -1 wenn der Wert nicht gefunden wurde.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-07-29T22:44:59", "review_tags": ["editorial"]}, {"title": "String.prototype.indexOf()", "url": "/pt-PT/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["String", "Reference", "Prototype", "JavaScript", "Method"], "summary": "O m\u00e9todo\u00a0indexOf() retorna o ind\u00edce da primeira ocurr\u00eancia do valor especificado no objecto\u00a0String, come\u00e7ando a procura a partir de\u00a0fromIndex. Retorna -1 se o valor n\u00e3o for encontrado.", "localization_tags": [], "locale": "pt-PT", "last_edit": "2015-08-24T12:50:34", "review_tags": []}], "modified": "2015-10-09T08:25:27", "label": "String.prototype.indexOf()", "localization_tags": [], "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/String/indexOf", "last_edit": "2015-10-09T08:25:23", "summary": "El m\u00e9todo\u00a0indexOf()devuelve el \u00edndice, dentro del objeto String que realiza la llamada, de la primera ocurrencia del valor especificado, comenzando la b\u00fasqueda desde indiceBusqueda; o -1 si no se encuentra dicho valor.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Resumen", "title": "Resumen"}, {"id": "Sintaxis", "title": "Sintaxis"}, {"id": "Par.C3.A1metros", "title": "Par\u00e1metros"}, {"id": "Descripci.C3.B3n", "title": "Descripci\u00f3n"}, {"id": "Ejemplos", "title": "Ejemplos"}, {"id": "Ejemplo:_Usando_indexOf_y_lastIndexOf", "title": "Ejemplo: Usando "}, {"id": "Ejemplo:_indexOf_y_sensibilidad_a_may.C3.BAsculas", "title": "Ejemplo: "}, {"id": "Ejemplo:_Usando_indexOf_para_contar_ocurrencias_de_una_letra_en_una_cadena", "title": "Ejemplo: Usando "}, {"id": "Vea_Tambi.C3.A9n", "title": "Vea Tambi\u00e9n"}], "id": 35932, "review_tags": []}