Android Question Find line return in edittext

tsteward

Well-Known Member
Licensed User
How can I find a line return in a string returned from an edittext and replace it with characters "<br>"
 

rraswisak

Active Member
Licensed User
You can try this:
B4X:
EditText1.Text = EditText1.Text.Replace(CRLF,"<br>")
 

MarkusR

Well-Known Member
Licensed User
btw the CRLF is just a single char constant. (not CR)
 

MarkusR

Well-Known Member
Licensed User
yes by Line Feed
 
Top