How do I change the delimiter of a list?

Ruslan

New Member
\[code\]$variable = 'one, two, three';\[/code\]How can I replace the commas between words with \[code\]<br>\[/code\]?\[code\]$variable\[/code\] should become:\[code\]one<br>two<br>three\[/code\]
 
Back
Top