{"json_modified": "2015-09-27T05:39:37.939558", "slug": "Web/JavaScript/Referencia/Objectes_globals/String/Trim", "tags": [], "locale": "ca", "title": "String.prototype.trim()", "translations": [{"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": []}, {"title": "String.prototype.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": "2015-04-17T13:23:36", "review_tags": []}, {"title": "String.prototype.trim()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": ["ECMAScript5", "String", "Reference", "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-07-27T06:54:07", "review_tags": []}, {"title": "String.prototype.trim()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/trim", "tags": ["ECMAScript5", "Prototype", "String", "polyfill", "javascript", "Reference", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "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-09-24T03:06:45", "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-06-28T15:01:31", "review_tags": []}, {"title": "String.prototype.trim()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": [], "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": ["inprogress"], "locale": "de", "last_edit": "2015-04-27T08:39:52", "review_tags": []}, {"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": "2015-05-20T14:16:55", "review_tags": []}, {"title": "String.prototype.trim()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/String/Trim", "tags": ["ECMAScript5", "m\u00e9todo", "String", "javaScr", "prot\u00f3tipo", "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": []}], "modified": "2015-09-27T05:39:36", "label": "String.prototype.trim()", "localization_tags": [], "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/String/Trim", "last_edit": "2015-09-27T05:39:32", "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.).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sintaxi", "title": "Sintaxi"}, {"id": "Descripci\u00f3", "title": "Descripci\u00f3"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Utilitzar_trim()", "title": "Utilitzar "}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Especificacions", "title": "Especificacions"}, {"id": "Compatibilitat_amb_navegadors", "title": "Compatibilitat amb navegadors"}, {"id": "Vegeu_tamb\u00e9", "title": "Vegeu tamb\u00e9"}], "id": 162907, "review_tags": []}