diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2021-08-02 11:42:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-02 12:42:34 -0300 |
| commit | 038ca04f4d551f547894b71d337b822d66c8a2b5 (patch) | |
| tree | bea3dad86f98170e2a2fffa04324586a18e75600 /files/pt-br/web/javascript/reference/global_objects/string/split/index.html | |
| parent | 6e961125c89cdc8c3f644bff485254b3b4afee67 (diff) | |
| download | translated-content-038ca04f4d551f547894b71d337b822d66c8a2b5.tar.gz translated-content-038ca04f4d551f547894b71d337b822d66c8a2b5.tar.bz2 translated-content-038ca04f4d551f547894b71d337b822d66c8a2b5.zip | |
remove link 'title' attributes that's just the 'href' (pt-br, part 4) (#1844)
Diffstat (limited to 'files/pt-br/web/javascript/reference/global_objects/string/split/index.html')
| -rw-r--r-- | files/pt-br/web/javascript/reference/global_objects/string/split/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/pt-br/web/javascript/reference/global_objects/string/split/index.html b/files/pt-br/web/javascript/reference/global_objects/string/split/index.html index c6a6f817ac..a2175743c7 100644 --- a/files/pt-br/web/javascript/reference/global_objects/string/split/index.html +++ b/files/pt-br/web/javascript/reference/global_objects/string/split/index.html @@ -35,7 +35,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/split </dl> <div class="blockIndicator warning"> -<p><strong>Aviso:</strong> Quando uma string vazia (<code>""</code>) é usada como separador, a string não é dividida por caracteres percebidos pelo usuário (<a href="https://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries" title="https://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries">grapheme clusters</a>) ou caracteres Unicode (pontos de código), mas por unidades de código UTF-16. Isso destrói <a href="http://unicode.org/faq/utf_bom.html#utf16-2" title="http://unicode.org/faq/utf_bom.html#utf16-2">pares substitutos</a>. Consulte “<a href="https://stackoverflow.com/questions/4547609/how-do-you-get-a-string-to-a-character-array-in-javascript/34717402#34717402" title="https://stackoverflow.com/questions/4547609/how-do-you-get-a-string-to-a-character-array-in-javascript/34717402#34717402">Como você transforma uma string em um array de caracteres em JavaScript?” no StackOverflow</a>.</p> +<p><strong>Aviso:</strong> Quando uma string vazia (<code>""</code>) é usada como separador, a string não é dividida por caracteres percebidos pelo usuário (<a href="https://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries" title="https://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries">grapheme clusters</a>) ou caracteres Unicode (pontos de código), mas por unidades de código UTF-16. Isso destrói <a href="http://unicode.org/faq/utf_bom.html#utf16-2" title="http://unicode.org/faq/utf_bom.html#utf16-2">pares substitutos</a>. Consulte “<a href="https://stackoverflow.com/questions/4547609/how-do-you-get-a-string-to-a-character-array-in-javascript/34717402#34717402">Como você transforma uma string em um array de caracteres em JavaScript?” no StackOverflow</a>.</p> </div> <dl> @@ -175,7 +175,7 @@ const strReverse = str.split('').reverse().join('') // split() retorna um array onde os métodos // reverse() e join() podem ser aplicados</pre> -<p>Não funciona se a string contém <code>grapheme clusters</code>, mesmo ao usar uma divisão compatível com Unicode. (Use, por exemplo, <a href="https://github.com/mathiasbynens/esrever" title="https://github.com/mathiasbynens/esrever">esrever</a> no lugar.)</p> +<p>Não funciona se a string contém <code>grapheme clusters</code>, mesmo ao usar uma divisão compatível com Unicode. (Use, por exemplo, <a href="https://github.com/mathiasbynens/esrever">esrever</a> no lugar.)</p> <pre class="brush: js example-bad notranslate">const str = 'résumé' const strReverse = str.split(/(?:)/u).reverse().join('') |
