Hi all,
How to break line of long string including inside html code?
Example
I have a long string of letters AAAAAAAACCCCCCC CC and they was formated with html code.
How to break line each 4 letters (still keep the color of these letters). I was used wordwrap, chunk_split but failed. Please help me, thanks!
How to break line of long string including inside html code?
Example
I have a long string of letters AAAAAAAACCCCCCC CC and they was formated with html code.
Code:
<font color=magenta>AAAAAAAAA</font><font color=red>CCCCCCCCCC</font>
Comment