Jay_Menna
(Jay Menna)
1
I think I’m missing some sort of encoding…
Have some HTML that I need to display for easy reading
Calling:
TextArea1.text= ReplaceAll(TextArea1.text,"
",EndOfLine)
Gives me unpredictable results. (I was expecting linefeed inside the text area)
What am I missing?
What kind of results are you getting?
Keep in mind there are different ways text can be broken up.
[code]
[/code]
Jay_Menna
(Jay Menna)
3
I control the HTML that goes in. Im only using <br>
Example HTML
<html>Mercury<br>Venus<br>Earth<br>Mars</html>
TextArea1.text= ReplaceAll(Example HTML,"<br>",EndOfLine)
Gives me:
Mercury
VenusEarth Mars
I am unable to reproduce your results in a test project
[quote=245232:@Jay Menna]I control the HTML that goes in. Im only using <br>
Example HTML
<html>Mercury<br>Venus<br>Earth<br>Mars</html>
TextArea1.text= ReplaceAll(Example HTML,"<br>",EndOfLine)
Gives me:
Mercury
VenusEarth Mars[/quote]
In older versions of Xojo, use EndofLine.