Hello,
I want to convert the unicode character to an integer and I do not get, surely it must be very easy but I do not know how to do it, if someone helps me I appreciate it.
That's is my code:
I want to convert the unicode character to an integer and I do not get, surely it must be very easy but I do not know how to do it, if someone helps me I appreciate it.
That's is my code:
B4X:
Dim charToConvert As String = "0xf013"
'any of this
'Dim charToConvert As String = "f013"
Dim cs As CSBuilder
cs.Initialize
'next line works
cs.Typeface(Typeface.FONTAWESOME).Append(Chr(0xf013)).Pop
'next line not works because is a string, need conversion
cs.Typeface(Typeface.FONTAWESOME).Append(Chr(charToConvert)).Pop