Android Question Recognize CRLF in STRING

petr4ppc

Well-Known Member
Licensed User
Longtime User
Dear friends,

please, it is possible to recognize CRLF (chr(13)) in the STRING?

I receive some bytes using ASTREAM
I recognize each byte with BytesToString(Buffer,numberofbyte,1,"UTF8")

I think, that I have in string two CRLF characters....I think, that CRLF have 2 bytes because I receive 4 bytes more then I am sending.

Please it is possible to detect CRLF in the string?
Thank you very much
p4ppc
 

DonManfred

Expert
Licensed User
Longtime User
B4X:
if str.Contains(chr(13)&chr(10)) then
end if
?
 
Upvote 0
Top