{"json_modified": "2015-08-24T12:54:22.069149", "slug": "Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["Prototype", "String", "Reference", "prototype", "JavaScript", "Method"], "locale": "pt-PT", "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": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/String/indexOf", "tags": ["prototype", "String", "Method", "JavaScript"], "summary": "El indexOf() m\u00e9todo 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.", "localization_tags": [], "locale": "es", "last_edit": "2014-08-11T10:03:59", "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-02-09T12:43:31", "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"]}], "modified": "2015-08-24T12:54:20", "label": "String.prototype.indexOf()", "localization_tags": [], "url": "/pt-PT/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "last_edit": "2015-08-24T12:50:34", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sintaxe", "title": "Sintaxe"}, {"id": "Par\u00e2metros", "title": "Par\u00e2metros"}, {"id": "Descri\u00e7\u00e3o", "title": "Descri\u00e7\u00e3o"}, {"id": "Case-sensitivity", "title": "Case-sensitivity"}, {"id": "Verificando_ocorr\u00eancias", "title": "Verificando ocorr\u00eancias"}, {"id": "Exemplos", "title": "Exemplos"}, {"id": "Usando_indexOf()_e_lastIndexOf()", "title": "Usando\u00a0"}, {"id": "indexOf()_e_sensibilidade_a_mai\u00fasculas_e_min\u00fasculas", "title": null}, {"id": "Usando_indexOf()_para_contar_as_ocorr\u00eancias_de_uma_letra_numa_string", "title": "Usando\u00a0"}, {"id": "Especifica\u00e7\u00f5es", "title": "Especifica\u00e7\u00f5es"}, {"id": "Compatibilidade_dos_browsers", "title": "Compatibilidade dos browsers"}, {"id": "Ver_tamb\u00e9m", "title": "Ver tamb\u00e9m"}], "id": 159959, "review_tags": []}