Differenze tra le versioni di "Comando TestoInUnicode"
Da GeoGebra Manual.
(Autogenerated from properties) |
|||
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[ <"Testo"> ] | + | ;TestoInUnicode[ <"Testo"> ]: Trasforma il testo in una lista di numeri Unicode, uno per ciascun carattere. |
− | :{{ | + | : {{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}''. | ||
+ | :* Se ''testo1'' è ''"ciao"'', allora<code>TestoInUnicode[text1]</code> restituisce la lista di numeri Unicode ''{99, 105, 97, 111}''.}} |
Versione delle 11:56, 7 mag 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}.