Differenze tra le versioni di "Comando TestoInUnicode"
Da GeoGebra Manual.
Riga 1: | Riga 1: | ||
<noinclude>{{Manual Page|version=4.0}}</noinclude>{{command|text|TestoInUnicode}} | <noinclude>{{Manual Page|version=4.0}}</noinclude>{{command|text|TestoInUnicode}} | ||
− | ;TestoInUnicode[ | + | ;TestoInUnicode[Testo]: Trasforma il testo in una lista di numeri Unicode, uno per ciascun carattere. |
: {{Example|1=<br/> | : {{Example|1=<br/> | ||
:* <code>TestoInUnicode["prova testo"]</code> restituisce la lista di numeri Unicode ''{112, 114, 111, 118, 97, 32, 116, 101, 115, 116, 111}''. | :* <code>TestoInUnicode["prova testo"]</code> restituisce la lista di numeri Unicode ''{112, 114, 111, 118, 97, 32, 116, 101, 115, 116, 111}''. | ||
:* Se ''testo1'' è ''"ciao"'', allora<code>TestoInUnicode[text1]</code> restituisce la lista di numeri Unicode ''{99, 105, 97, 111}''.}} | :* Se ''testo1'' è ''"ciao"'', allora<code>TestoInUnicode[text1]</code> restituisce la lista di numeri Unicode ''{99, 105, 97, 111}''.}} |
Versione delle 11:28, 26 giu 2011
- TestoInUnicode[Testo]
- Trasforma il testo in una lista di numeri Unicode, uno per ciascun carattere.
- Esempio:
TestoInUnicode["prova testo"]
restituisce la lista di numeri Unicode {112, 114, 111, 118, 97, 32, 116, 101, 115, 116, 111}.- Se testo1 è "ciao", allora
TestoInUnicode[text1]
restituisce la lista di numeri Unicode {99, 105, 97, 111}.