Char to int and back
(Created page with "Convert a number to its corresponding character Char.ConvertFromUtf32( 65 ) -- returns 'A' Convert a character to its corresponding Integer value Char.ConvertToUtf32('AB',...")
 
No edit summary
Line 8: Line 8:


Char.ConvertToUtf32('AB',1) -- returns 66
Char.ConvertToUtf32('AB',1) -- returns 66
[[Category:OCL]]
[[Category:Data types]]

Revision as of 09:06, 5 December 2022

Convert a number to its corresponding character

Char.ConvertFromUtf32( 65 ) -- returns 'A'

Convert a character to its corresponding Integer value

Char.ConvertToUtf32('AB',0) -- returns 65

Char.ConvertToUtf32('AB',1) -- returns 66

This page was edited 96 days ago on 02/10/2024. What links here