Linguaggio

String.TranslateEscapes Metodo

Definizione

Restituisce una stringa il cui valore è questa stringa, con sequenze di escape tradotte come se in un valore letterale stringa.

[Android.Runtime.Register("translateEscapes", "()Ljava/lang/String;", "", ApiSince=34)]
public string TranslateEscapes();
[<Android.Runtime.Register("translateEscapes", "()Ljava/lang/String;", "", ApiSince=34)>]
member this.TranslateEscapes : unit -> string

Valori restituiti

Stringa con sequenze di escape tradotte.

Attributi

Commenti

Restituisce una stringa il cui valore è questa stringa, con sequenze di escape tradotte come se in un valore letterale stringa.

Le sequenze di escape vengono tradotte come segue; <table class="striped"><caption style="display:none">Translation</caption><thead><tr><th scope="col">Escape</th th><scope="col">Name</th th><scope="col">Translation</th></tr></thead><tbody><tr><th scope="row">\u005Cb</th><td>backspace</td td><>U+0008<></tr><><th th scope="row">\u005Ct</th><td>horizontal tab</td td></td>U+0009<></tr tr><><th scope="row">\u005Cn</th><td>line feed</td td td><>U+000A<></tr tr><><th scope="row">\u005Cf</th><td>form feed</td td td><>U+000C</><tr th><>< scope="row">\u005Cr</th><td>carriage return</td td></td>U+000D<></tr tr><><th scope="row">\u005Cs</th><td>space</td td td><>U+0020<></tr tr><><th scope="row">\u005C"</th><td>double quote</td td><td/>U+0022< td></tr tr><><th scope="row">\u005C'</th><td>single quote</td td><>U+0027</td></tr tr><><th scope="row">\u005C\u005C</th><td>backslash</td td><>U+005C</><tr tr><><th scope="row">\u005C0 - \u005C377</th><td>octal escape</td td><>code point equivalents</td></tr tr><><th scope="row">\u005C<line-terminator></th><td>continuation</td td><>discard</td></tr></tbody></table>

Aggiunta in 15.

per java.lang.String.translateEscapes().

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a