10-12-2009, 08:21 PM
|
#1 (permalink)
|
|
The Acquainted
Join Date: Oct 2007
Location: Newcastle, UK
Posts: 113
Thanks: 3
|
Split a string
I have a string that will look like:
Code:
Line 1;Line 2;Line 3
Basically the words will be separated by a semi-colon. How can I split this string and then display them like:
Code:
<li>Line 1</li>
<li>Line 2</li>
<li>Line 3</li>
|
|
|