J jarda Member Licensed User Longtime User Jun 13, 2016 #1 hi how sending this string Dim s as string s = "t1.txt = "hi" " (nested "" ) ?? thanks Jarek Attachments Untitled-3.jpg 36.2 KB · Views: 373 Last edited: Jun 13, 2016
J jarda Member Licensed User Longtime User Jun 14, 2016 #2 Dim p(20) As Byte Dim s as string s= "hi" p = JoinBytes(Array("t1.txt=".GetBytes, Array As Byte(34), s.GetBytes, Array As Byte(34))) (34 is " ) is next scenario ? (better) Jarek Upvote 0
Dim p(20) As Byte Dim s as string s= "hi" p = JoinBytes(Array("t1.txt=".GetBytes, Array As Byte(34), s.GetBytes, Array As Byte(34))) (34 is " ) is next scenario ? (better) Jarek
Erel B4X founder Staff member Licensed User Longtime User Jun 14, 2016 #3 Correct solution: B4X: AStream.Write("t1.txt=""") AStream.Write(s) AStream.Write("""") Upvote 0