Android Question How to join several byte array

Emme Developer

Well-Known Member
Licensed User
Longtime User
Hi guys, I have 3 strings and I need to convert them to a byte array and join them.
In which way it is posible to do.

Thanks
B4X:
Dim s(3) As String = Array As String("ooook","soooo","tryyyy")
    Dim st As StringBuilder
    st.Initialize
    For Each ss As String In s
        st.Append(ss)
    Next
    Dim b() As Byte = st.ToString.GetBytes("UTF8")
 
Upvote 0
Top