{"json_modified": "2015-04-15T00:09:05.359773", "slug": "Web/JavaScript/Reference/Global_Objects/String/trim", "tags": ["String Methods", "String"], "locale": "ja", "title": "String.prototype.trim()", "translations": [{"title": "Trim", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": ["ECMAScript5", "prototype", "String", "Method", "JavaScript"], "summary": "\u5220\u9664\u5b57\u7b26\u4e32\u4e24\u7aef\u7684\u7a7a\u767d\u5b57\u7b26\u5e76\u8fd4\u56de.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-09-01T22:21:22", "review_tags": []}, {"title": "String.prototype.trim()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": ["ECMAScript5", "String", "Reference", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "summary": "The trim() method removes whitespace from both ends of a string. Whitespace in this context is all the whitespace characters (space, tab, no-break space, etc.) and all the line terminator characters (LF, CR, etc.).", "localization_tags": [], "locale": "en-US", "last_edit": "2015-01-15T06:23:05", "review_tags": []}, {"title": "String.prototype.trim()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/trim", "tags": ["ECMAScript5", "String", "polyfill", "Reference", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "summary": "La m\u00e9thode trim() permet de retirer les blancs en d\u00e9but et fin de cha\u00eene. Les blancs consid\u00e9r\u00e9s sont les caract\u00e8res d'espacement (espace, tabulation, espace ins\u00e9cable, etc.) ainsi que les caract\u00e8res de fin de ligne (LF, CR, etc.).", "localization_tags": [], "locale": "fr", "last_edit": "2015-02-17T13:21:24", "review_tags": []}, {"title": "String.prototype.trim()", "url": "/cs/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": [], "summary": "Metoda\u00a0trim() odstra\u0148uje b\u00edl\u00e9 znaky na za\u010d\u00e1tku i na konci \u0159e\u0165\u011bzce.", "localization_tags": [], "locale": "cs", "last_edit": "2014-04-29T06:20:40", "review_tags": []}, {"title": "String.prototype.trim()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": ["ECMAScript5", "String", "Reference", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 trim() \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0441 \u043d\u0430\u0447\u0430\u043b\u0430 \u0438 \u043a\u043e\u043d\u0446\u0430 \u0441\u0442\u0440\u043e\u043a\u0438. \u041f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438 \u0432 \u044d\u0442\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u0440\u043e\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b (\u043f\u0440\u043e\u0431\u0435\u043b, \u0442\u0430\u0431\u0443\u043b\u044f\u0446\u0438\u044f, \u043d\u0435\u0440\u0430\u0437\u0440\u044b\u0432\u043d\u044b\u0439 \u043f\u0440\u043e\u0431\u0435\u043b \u0438 \u043f\u0440\u043e\u0447\u0438\u0435) \u0438 \u0432\u0441\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043a\u043e\u043d\u0446\u0430 \u0441\u0442\u0440\u043e\u043a\u0438 (LF, CR \u0438 \u043f\u0440\u043e\u0447\u0438\u0435).", "localization_tags": [], "locale": "ru", "last_edit": "2015-01-30T03:56:47", "review_tags": []}], "modified": "2015-04-15T00:09:03", "label": "String.prototype.trim()", "localization_tags": [], "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/String/trim", "last_edit": "2015-04-15T00:09:01", "summary": "\u6587\u5b57\u5217\u306e\u4e21\u7aef\u306e\u7a7a\u767d\u3092\u524a\u9664\u3057\u307e\u3059\u3002", "sections": [{"id": "Quick_Links", "title": "Standard built-in objects String Properties String.length String.prototype Methods String.fromCharCode() String.fromCodePoint() [Translate] String.prototype.anchor() String.prototype.big() String.prototype.blink() String.prototype.bold() String.prototype.charAt() String.prototype.charCodeAt() String.prototype.codePointAt() [Translate] String.prototype.concat() String.prototype.endsWith() String.prototype.fixed() String.prototype.fontcolor() String.prototype.fontsize() String.prototype.includes() [Translate] String.prototype.indexOf() String.prototype.italics() String.prototype.lastIndexOf() String.prototype.link() String.prototype.localeCompare() [Translate] String.prototype.match() String.prototype.normalize() [Translate] String.prototype.quote() String.prototype.repeat() String.prototype.replace() String.prototype.search() String.prototype.slice() String.prototype.small() String.prototype.split() String.prototype.startsWith() [Translate] String.prototype.strike() String.prototype.sub() String.prototype.substr() String.prototype.substring() String.prototype.sup() String.prototype.toLocaleLowerCase() [Translate] String.prototype.toLocaleUpperCase() [Translate] 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]() [Translate] String.raw() [Translate] Inheritance: Function Properties Function.arguments Function.arity Function.caller Function.displayName [Translate] Function.length Function.name Function.prototype Methods Function.prototype.apply() Function.prototype.bind() Function.prototype.call() Function.prototype.isGenerator() Function.prototype.toSource() Function.prototype.toString() Object Properties Object.prototype.__count__ [Translate] Object.prototype.__noSuchMethod__ Object.prototype.__parent__ Object.prototype.__proto__ [Translate] Object.prototype.constructor [Translate] Methods 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": "\u6982\u8981"}, {"id": "Syntax", "title": "\u69cb\u6587"}, {"id": "Description", "title": "\u8aac\u660e"}, {"id": "Examples", "title": "\u4f8b"}, {"id": "Example:_Using_trim", "title": "\u4f8b: trim \u306e\u4f7f\u7528"}, {"id": "Compatibility", "title": "\u4e92\u63db\u6027"}, {"id": "Browser_compatibility", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "See_also", "title": "\u95a2\u9023\u60c5\u5831"}], "id": 1768, "review_tags": []}