Add a line break

Posted By: TrackingKeks

Add a line break - 05/29/10 17:12

Hello,

is it possible to add a line break automatically to a text*?
(I do not want to use multiple strings or "\n". grin )

Perhaps I'm a bit stupid but I am not able to find a solution.
Posted By: Uhrwerk

Re: Add a line break - 05/29/10 19:46

You can cut the string to pieces with str_clip and str_trunc and then put it back together with str_cat. While putting it together just add the line breaks wherever you like to...
Posted By: TrackingKeks

Re: Add a line break - 05/29/10 19:58

Thanks for the help. Then I will do it like this.
© 2023 lite-C Forums