Char to int and back

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 more than 6 months ago on 06/20/2024. What links here