I know you can put Unicode character codes in a VB.Net string like this:
str = Chr(&H0030) & \"More text\"
I would like to know how
To display an Unicode character, you can use following statement
ChrW(n)
where n
is the number representing de Unicode character.Convert.ToChar(n)
Alt + N
key combinationChar.ConvertFromUtf32(n)
&#x....;
syntaxExample to assign ♥ character :
s = ChrW(&H2665)
s = Convert.ToChar(&H2665)
s = "♥" 'in typing Alt+2665
s = "♥" 'using paste/copy of ♥ from another location
s = Char.ConvertFromUtf32(&H2665)
s = <text>I ♥ you</text>
BUT when Unicode Character is greater than 0xFFFF (C syntax is more readable