{"json_modified": "2016-10-08T18:43:43.080276", "uuid": "29fd939a-29f0-42d5-8d64-0d0f422a64b8", "title": "String.prototype.indexOf()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["Reference", "Prototype", "String", "Method", "JavaScript"], "translations": [{"uuid": "9549cfe9-7ffb-4415-ab41-9bf90070115e", "title": "String.prototype.indexOf()", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/String/indexOf", "tags": [], "summary": "El m\u00e8tode indexOf()
retorna la primera posici\u00f3 dins el String
des del que es crida a la qual es troba el valor proporcionat. Retorna -1 si no es troba el valor donat.", "localization_tags": ["inprogress"], "locale": "ca", "last_edit": "2016-05-19T08:52:45", "review_tags": []}, {"uuid": "bd8f1fce-2423-40a6-81b9-33c70083711c", "title": "String.prototype.indexOf()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["Reference", "Prototype", "String", "Method", "JavaScript"], "summary": "Die indexOf()
Methode gibt den Index der Zeichenkette innerhalb des aufrufenden String
Objekts des ersten Vorkommnis des angegebenen Wertes beginnend bei fromIndex
zur\u00fcck. Gibt -1 zur\u00fcck, wenn der Wert nicht gefunden wurde.", "localization_tags": [], "locale": "de", "last_edit": "2016-08-04T05:03:06", "review_tags": []}, {"uuid": "c871cd0d-0c94-4a3c-aeba-9e687a980867", "title": "String.prototype.indexOf()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/String/indexOf", "tags": ["Prototype", "String", "Method", "JavaScript"], "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.", "localization_tags": [], "locale": "es", "last_edit": "2015-10-09T08:25:23", "review_tags": []}, {"uuid": "da239e18-ce3c-4f54-9824-fc153454d876", "title": "String.prototype.indexOf()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/indexOf", "tags": ["M\u00e9thode", "R\u00e9f\u00e9rence", "Prototype", "String", "JavaScript"], "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": "2016-10-05T03:45:07", "review_tags": []}, {"uuid": "e1fa9d2b-44ed-4ad6-a386-f70d96438acc", "title": "String.prototype.indexOf()", "url": "/id/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": [], "summary": "indexOf()
method mengembalikan\u00a0sebuah index\u00a0saat memanggil objek \u00a0String
pertama kali dengan value\u00a0yang di tentukan, bermula dari pencarian\u00a0pada\u00a0fromIndex
. Dan pencarian ini akan mengembalikan index dari karakter pada String, \u00a0dan akan mengembalikan -1\u00a0ketika pencarian indexOf ini tak menemukan karakter yang cocok/ value yang sesuai.", "localization_tags": ["inprogress"], "locale": "id", "last_edit": "2016-07-15T03:05:01", "review_tags": []}, {"uuid": "98ed6627-1b78-4821-9b15-248ce9e0e3b6", "title": "String.prototype.indexOf()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["String Methods", "Reference", "String", "JavaScript"], "summary": "indexOf()
\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u547c\u3073\u51fa\u3059 String
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u4e2d\u3067\u3001fromIndex
\u304b\u3089\u691c\u7d22\u3092\u59cb\u3081\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\u3002\u5024\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u306f -1 \u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-10-08T18:43:32", "review_tags": []}, {"uuid": "eb81604a-f433-4095-8ef7-8302ca33f5d6", "title": "String.prototype.indexOf()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["String", "Referen", "JavaS", "Prototype", "Method"], "summary": "indexOf()
\u00a0\uba54\uc11c\ub4dc\ub294 \ud638\ucd9c\ud55c\u00a0String
\uac1d\uccb4\uc5d0\uc11c \ud2b9\uc815 \uac12\uc758 \uccab \ubc88\uc9f8 \uc77c\uce58\ud558\ub294 \uc778\ub371\uc2a4\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4. \uc77c\uce58\ud558\ub294 \uac12\uc774 \uc5c6\uc73c\uba74 -1\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-05-10T16:41:22", "review_tags": []}, {"uuid": "77851933-ff2d-4ed6-9599-428d0c4587cb", "title": "String.prototype.indexOf()", "url": "/nl/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["String", "Reference", "Prototype", "JavaScript", "Method"], "summary": "De\u00a0indexOf()
methode geeft de positie\u00a0van het eerste voorval van searchValue
\u00a0binnen het\u00a0String
object waarop het wordt aangeroepen, waarbij begonnen wordt met zoeken vanaf\u00a0fromIndex
. Geeft\u00a0-1 terug als geen voorvallen\u00a0van\u00a0searchValue\u00a0
gevonden worden.", "localization_tags": [], "locale": "nl", "last_edit": "2016-01-25T01:18:29", "review_tags": ["editorial"]}, {"uuid": "b096fadd-7441-412d-96f1-76e116699210", "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": "2015-12-10T05:58:14", "review_tags": []}, {"uuid": "662b3c78-3959-4ce1-9042-3fef0dfd2fe6", "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": []}, {"uuid": "d4470783-3c66-42bd-88e7-7051d4db4b05", "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": []}, {"uuid": "14ed6a8d-3af3-4dad-9462-e014fdf0f36a", "title": "String.prototype.indexOf()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["String", "\u53c2\u8003", "\u5b57\u7b26\u4e32", "\u65b9\u6cd5", "JavaScript", "\u539f\u578b"], "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": "2015-11-13T17:20:07", "review_tags": []}], "modified": "2016-10-04T02:21:38", "label": "String.prototype.indexOf()", "localization_tags": [], "locale": "en-US", "id": 5089, "last_edit": "2016-10-04T02:21:30", "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.", "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": "Checking_occurrences", "title": "Checking occurrences"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_indexOf()_and_lastIndexOf()", "title": "Using "}, {"id": "indexOf()_and_case-sensitivity", "title": null}, {"id": "Using_indexOf()_to_count_occurrences_of_a_letter_in_a_string", "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/indexOf", "review_tags": []}