Difference between revisions of "TextToUnicode Command"
From GeoGebra Manual
(added v.4 - example formatting) |
(added v.4 - example formatting) |
||
Line 3: | Line 3: | ||
; 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. | ||
: {{Example| | : {{Example| | ||
− | :* < | + | :* <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 < | + | :* If ''text1'' is ''"hello"'', then <code>TextToUnicode[text1]</code> gives you the list of Unicode numbers ''{104, 101, 108, 108, 111}''.}} |
Revision as of 11:35, 25 February 2011
- TextToUnicode["Text"]
- Turns the text into a list of Unicode numbers, one for each character.
- Example:
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}.