Edit a String
| From: | Shaun | Date: | Wed, 17 Sep 2003 14:07:35 +0000 |
| Subject: | Edit a String | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162870@lists.php.net to get a copy of this message | ||
Hi,
I have addresses stored in my database. I am trying to create a page that
generates a letter automatically for the user to print. Given a string of
format 'xxxx, xxxxx, xxxxx, xxx' how can I edit it so that the comma's are
replaced with line breaks i.e. /n. This will enable me to display the
address correctly at the top of the page.
Thanks for your help