SMOOTSARA Active Member Licensed User Longtime User Mar 19, 2018 #1 Hello guys A string has been sent to me from the server (( icon_exit_chr ==== 0xE5CD )) How can I get it and convert it to fonts? B4X: Label_icon.Text=chr(?????????)
Hello guys A string has been sent to me from the server (( icon_exit_chr ==== 0xE5CD )) How can I get it and convert it to fonts? B4X: Label_icon.Text=chr(?????????)
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2018 #2 Not sure that I understand. What it the output of Log(YourString) ? Upvote 0
SMOOTSARA Active Member Licensed User Longtime User Mar 19, 2018 #3 Hi Erel I have a String and I have a label dim st1 as string = "0xE5CD" dim lb1 as label who to show on the label.text when set label typeface FontAwesome thank you Upvote 0
Hi Erel I have a String and I have a label dim st1 as string = "0xE5CD" dim lb1 as label who to show on the label.text when set label typeface FontAwesome thank you
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2018 #4 B4X: Dim i As Int = Bit.ParseInt(st1.Replace("0x", ""), 16) lb1.Text = Chr(i) Upvote 0