S Scantech Well-Known Member Licensed User Longtime User Oct 20, 2011 #1 I need to Send Carriage Return after last code. How you do it in B4A? Dim buffer() As Byte buffer = EditText1.Text.GetBytes("UTF8") AStreams.Write(buffer)
I need to Send Carriage Return after last code. How you do it in B4A? Dim buffer() As Byte buffer = EditText1.Text.GetBytes("UTF8") AStreams.Write(buffer)
Erel B4X founder Staff member Licensed User Longtime User Oct 20, 2011 #2 B4X: Dim s As String s = EditText1.Text & Chr(13) & Chr(10) Dim buffer() As Byte buffer = s.GetBytes(...) ... Upvote 0
B4X: Dim s As String s = EditText1.Text & Chr(13) & Chr(10) Dim buffer() As Byte buffer = s.GetBytes(...) ...
S Scantech Well-Known Member Licensed User Longtime User Oct 20, 2011 #3 Erel said: B4X: Dim s As String s = EditText1.Text & Chr(13) & Chr(10) Dim buffer() As Byte buffer = s.GetBytes(...) ... Click to expand... Thank you Erel! chr(13) is all I need. chr(10) is linefeed. Upvote 0
Erel said: B4X: Dim s As String s = EditText1.Text & Chr(13) & Chr(10) Dim buffer() As Byte buffer = s.GetBytes(...) ... Click to expand... Thank you Erel! chr(13) is all I need. chr(10) is linefeed.