B4R Question how to put quotation mark in astream.write? [solved]

Hans- Joachim Krahe

Active Member
Licensed User
Longtime User
... I know, there is a catch, but do not find it:-(

please help me



--------------------------------------------------------

...after big smoke:

B4X:
        Public writeByte() As Byte = "<br><input type=\ @button\ @ name=\ @b1\@ value=\ @Turn LED ON\@ onclick=\ @location.href='/ON'\>"


        For i = 0 To writeByte.Length - 1
            If writeByte(i) = 64 Then
                writeByte(i) = 34
            End If
        Next
    
        Log(writeByte)
    
        Astream.write("<br><br>")
        Astream.Write(writeByte)


furious way, but seems to work
 
Last edited:

Hans- Joachim Krahe

Active Member
Licensed User
Longtime User
...thanks Erel, did not find that. Tried joinstring stringarray... Where to put double quotes? Directly in astream.write? Maybe more complicated with HTML code...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…