{"json_modified": "2016-09-20T06:53:41.293849", "uuid": "175665fc-8426-4e5a-8d0c-638ac6d243f0", "title": "String.prototype.trim()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": ["ECMAScript5", "String", "Reference", "Prototype", "JavaScript", "Method"], "translations": [{"uuid": "43e00aea-ec36-42bd-9d82-1c2838ca64c8", "title": "String.prototype.trim()", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/String/Trim", "tags": [], "summary": "El m\u00e8tode trim() elimina els espais en blanc tant a l'inici com al final del string. En aquest contexte, s'ent\u00e8n com a espais en blanc tots les car\u00e0cters que no imprimeixin res (espai, tabulador, espai sense salt de l\u00ednia, etc\u00e8tera) aix\u00ed com tots els car\u00e0cters terminadors de l\u00ednia (LF, CR, etc.).", "localization_tags": [], "locale": "ca", "last_edit": "2015-09-27T05:39:32", "review_tags": []}, {"uuid": "996be6d9-f906-4045-9459-2b979accdf85", "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": []}, {"uuid": "98ccee9c-5e72-4976-847c-aa445c92c140", "title": "String.prototype.trim()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": ["ECMAScript5", "String", "Reference", "Prototype", "JavaScript", "Method"], "summary": "Die trim() Methode entfernt Leerzeichen an beiden Enden einer Zeichenfolge. Das betrifft Leerzeichen verschiedenster Art (space, tab, no-break space, etc.) und alle Zeilenumbruch einleitende Zeichen (LF, CR, etc.).", "localization_tags": [], "locale": "de", "last_edit": "2016-09-20T06:53:31", "review_tags": []}, {"uuid": "ce5f562a-3105-4df7-929d-c18835a39a67", "title": "String.prototype.trim()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/String/Trim", "tags": [], "summary": "El m\u00e9todo\u00a0trim( )\u00a0remueve los espacios en blanco de ambos extremos del string. Los espacios en blanco en este contexto, son todos los caracteres sin contenido (espacio, tabulaci\u00f3n, etc.) y todos los caracteres de nuevas lineas (LF,CR,etc.).", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-05-16T10:55:35", "review_tags": []}, {"uuid": "6990ebc0-747d-44ce-a33f-fc26f5ab3078", "title": "String.prototype.trim()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/trim", "tags": ["ECMAScript5", "String", "polyfill", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "M\u00e9thode"], "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": "2016-07-25T02:06:32", "review_tags": []}, {"uuid": "ad70412b-d608-4738-b21b-db5be13f1061", "title": "String.prototype.trim()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/String/trim", "tags": ["String Methods", "String"], "summary": "\u6587\u5b57\u5217\u306e\u4e21\u7aef\u306e\u7a7a\u767d\u3092\u524a\u9664\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-15T00:09:01", "review_tags": []}, {"uuid": "19fcd4b7-64a8-44e2-9b57-ddc5e75fdeb2", "title": "String.prototype.trim()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": ["ECMAScript5", "String", "Prot\u00f3tipo", "Texto", "Refer\u00eancia", "M\u00e9todo"], "summary": "O m\u00e9todo\u00a0trim() retorna o texto sem os espa\u00e7os em branco no in\u00edcio e fim do texto. O\u00a0trim()\u00a0n\u00e3o afeta o valor do texto em si.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-09-14T10:04:26", "review_tags": []}, {"uuid": "78249f0f-d578-44c0-a6de-00601b05eaa7", "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-06-28T15:01:31", "review_tags": []}, {"uuid": "48440b44-76ce-4fb7-b722-4701ad7ba178", "title": "String.prototype.trim()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": ["ECMAScript5", "String", "Prototype", "JavaScript", "Method"], "summary": "trim() \u65b9\u6cd5\u4f1a\u5220\u9664\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e24\u7aef\u7684\u7a7a\u767d\u5b57\u7b26\u3002\u5728\u8fd9\u4e2a\u5b57\u7b26\u4e32\u91cc\u7684\u7a7a\u683c\u5305\u62ec\u6240\u6709\u7684\u7a7a\u683c\u5b57\u7b26\u00a0(space, tab, no-break space \u7b49)\u4ee5\u53ca\u6240\u6709\u7684\u884c\u7ed3\u675f\u7b26\uff08\u5982 LF\uff0cCR\uff09\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-03-28T04:17:53", "review_tags": []}], "modified": "2016-07-24T05:09:42", "label": "String.prototype.trim()", "localization_tags": [], "locale": "en-US", "id": 2675, "last_edit": "2016-07-24T05:09:34", "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.).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_trim()", "title": "Using "}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/String/Trim", "review_tags": []}