Hello,

I got a text paragraph that i want to display as it is to do that i need to add a <br> tag to the end of each line the problem is how do i find the end of the line?

explode is useless here since each line may or may not contain \n or \r at the end so that's not a good way to divide the lines

i maybe missing something obvious here but unless i can get the position or a way to get to the end of the line there's not much i can do...

thx