Difference between revisions of "TextToUnicode Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|text}}
 
{{command|text}}
; TextToUnicode["Text"]: Turns the text into a list of Unicode numbers, one for each character.
+
; TextToUnicode[ "<Text>" ]
: {{Examples|1=<br/>
+
: Turns the text into a list of Unicode numbers, one for each character.
 +
: {{Examples|1=<br>
 
:* <code>TextToUnicode["Some text"]</code> gives you the list of Unicode numbers ''{83, 111, 109, 101, 32, 116, 101, 120, 116}''.
 
:* <code>TextToUnicode["Some text"]</code> gives you the list of Unicode numbers ''{83, 111, 109, 101, 32, 116, 101, 120, 116}''.
 
:* If ''text1'' is ''"hello"'', then <code>TextToUnicode[text1]</code> gives you the list of Unicode numbers ''{104, 101, 108, 108, 111}''.}}
 
:* If ''text1'' is ''"hello"'', then <code>TextToUnicode[text1]</code> gives you the list of Unicode numbers ''{104, 101, 108, 108, 111}''.}}
 
{{Note| See also [[UnicodeToText Command]] and [[LetterToUnicode Command]].}}
 
{{Note| See also [[UnicodeToText Command]] and [[LetterToUnicode Command]].}}

Revision as of 16:43, 8 August 2013



TextToUnicode[ "<Text>" ]
Turns the text into a list of Unicode numbers, one for each character.
Examples:
  • TextToUnicode["Some text"] gives you the list of Unicode numbers {83, 111, 109, 101, 32, 116, 101, 120, 116}.
  • If text1 is "hello", then TextToUnicode[text1] gives you the list of Unicode numbers {104, 101, 108, 108, 111}.
© 2024 International GeoGebra Institute