Re: How to separate a long string to short string with space each 5 character in php?
Thank Domilich in advanced.
And, if i want to numbered the character in string when I use wordwap to break line this string, what I can do?
Example:
$str1 = "GCCGGCGGCCAGGG CGAGCGCTTGCTGGC "
$str2 = "GCCGG CGGCC AGGGC GAGCC TTGCT GGC" (i can do that now, thanks Domilich)
And now:
1 GCCGG CGGCC
11 AGGGC GAGCC
21 TTGCT GGC
Please help me! Thanks
Thank Domilich in advanced.
And, if i want to numbered the character in string when I use wordwap to break line this string, what I can do?
Example:
$str1 = "GCCGGCGGCCAGGG CGAGCGCTTGCTGGC "
$str2 = "GCCGG CGGCC AGGGC GAGCC TTGCT GGC" (i can do that now, thanks Domilich)
And now:
1 GCCGG CGGCC
11 AGGGC GAGCC
21 TTGCT GGC
Please help me! Thanks
Comment