B4R Question dynamic string

peacemaker

Expert
Licensed User
Longtime User
Hi, All

I asked in vain here: https://www.b4x.com/android/forum/threads/why-strange-strings.163520/ and today found that if the web-server name is static string - no trouble !
But if to use the variable string that is got by such sub - it's messed interface:

B4X:
    UI.begin(APname, "", "", 80)

Public Sub APname As String
Return JoinStrings(Array As String(title, "_", Main.bc.HexFromBytes(MacArray)))
End Sub

like:


Like got from the heap memory, where already placed previous strings (JSON of HTTP requests).
But why ?
 
I think the following link has your answer.

Strings and Bytes
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…