Difference between revisions of "TextToUnicode Command"
From GeoGebra Manual
(create official page from pdf) |
(create official page from pdf) |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
+ | {{command|text}} | ||
; TextToUnicode["Text"]: Turns the text into a list of Unicode numbers, one for each character. | ; TextToUnicode["Text"]: Turns the text into a list of Unicode numbers, one for each character. | ||
: Examples: | : Examples: | ||
:* <tt>TextToUnicode["Some text"]</tt> gives you the list of Unicode numbers ''{83, 111, 109, 101, 32, 116, 101, 120, 116}''. | :* <tt>TextToUnicode["Some text"]</tt> gives you the list of Unicode numbers ''{83, 111, 109, 101, 32, 116, 101, 120, 116}''. | ||
:* If ''text1'' is ''"hello"'', then <tt>TextToUnicode[text1]</tt> gives you the list of Unicode numbers ''{104, 101, 108, 108, 111}''. | :* If ''text1'' is ''"hello"'', then <tt>TextToUnicode[text1]</tt> gives you the list of Unicode numbers ''{104, 101, 108, 108, 111}''. |
Revision as of 06:34, 3 November 2010
- 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}.