{"json_modified": "2015-04-22T10:07:49.367937", "slug": "Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["String", "Reference", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "locale": "ru", "title": "String.prototype.indexOf()", "translations": [{"title": "String.prototype.indexOf()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "tags": ["String", "Reference", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "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-01-19T19:44:02", "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": "/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-03-02T01:42:26", "review_tags": ["editorial"]}], "modified": "2015-04-22T10:07:45", "label": "String.prototype.indexOf()", "localization_tags": [], "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf", "last_edit": "2015-01-30T03:33:03", "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.", "sections": [{"id": "Quick_Links", "title": "\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b String \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 String.length String.prototype \u041c\u0435\u0442\u043e\u0434\u044b String.fromCharCode() String.fromCodePoint() String.prototype.anchor() String.prototype.big() String.prototype.blink() String.prototype.bold() String.prototype.charAt() String.prototype.charCodeAt() String.prototype.codePointAt() String.prototype.concat() String.prototype.endsWith() String.prototype.fixed() String.prototype.fontcolor() String.prototype.fontsize() String.prototype.includes() String.prototype.indexOf() String.prototype.italics() String.prototype.lastIndexOf() String.prototype.link() String.prototype.localeCompare() String.prototype.match() String.prototype.normalize() String.prototype.quote() String.prototype.repeat() String.prototype.replace() String.prototype.search() String.prototype.slice() String.prototype.small() String.prototype.split() String.prototype.startsWith() String.prototype.strike() String.prototype.sub() String.prototype.substr() String.prototype.substring() String.prototype.sup() String.prototype.toLocaleLowerCase() String.prototype.toLocaleUpperCase() String.prototype.toLowerCase() String.prototype.toSource() String.prototype.toString() String.prototype.toUpperCase() String.prototype.trim() String.prototype.trimLeft() String.prototype.trimRight() String.prototype.valueOf() String.prototype[@@iterator]() String.raw() \u0423\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0435 Function \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Function.arguments Function.arity Function.caller Function.displayName Function.length Function.name Function.prototype \u041c\u0435\u0442\u043e\u0434\u044b Function.prototype.apply() Function.prototype.bind() Function.prototype.call() Function.prototype.isGenerator() Function.prototype.toSource() Function.prototype.toString() Object \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Object.prototype.__count__ Object.prototype.__noSuchMethod__ Object.prototype.__parent__ Object.prototype.__proto__ Object.prototype.constructor \u041c\u0435\u0442\u043e\u0434\u044b Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() Object.prototype.hasOwnProperty() Object.prototype.isPrototypeOf() Object.prototype.propertyIsEnumerable() Object.prototype.toLocaleString() Object.prototype.toSource() Object.prototype.toString() Object.prototype.unwatch() Object.prototype.valueOf() Object.prototype.watch()"}, {"id": "Summary", "title": "\u0421\u0432\u043e\u0434\u043a\u0430"}, {"id": "Syntax", "title": "\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441"}, {"id": "Parameters", "title": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b"}, {"id": "Description", "title": "\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435"}, {"id": "Case-sensitivity", "title": "\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c"}, {"id": "Checking_occurrences", "title": "\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435"}, {"id": "Examples", "title": "\u041f\u0440\u0438\u043c\u0435\u0440\u044b"}, {"id": "Example:_Using_indexOf_and_lastIndexOf", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 indexOf() \u0438 lastIndexOf()"}, {"id": "Example:_indexOf_and_case-sensitivity", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u043c\u0435\u0442\u043e\u0434 indexOf() \u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c"}, {"id": "Example:_Using_indexOf_to_count_occurrences_of_a_letter_in_a_string", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u0430 indexOf() \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0439 \u0431\u0443\u043a\u0432\u044b \u0432 \u0441\u0442\u0440\u043e\u043a\u0443"}, {"id": "Specifications", "title": "\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438"}, {"id": "Browser_compatibility", "title": "\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438"}, {"id": "See_also", "title": "\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0442\u0430\u043a\u0436\u0435"}], "id": 130203, "review_tags": []}