Re: take text before '-' and after it
| From: | 1LT John W. Holmes | Date: | Thu, 12 Dec 2002 15:58:09 +0000 |
| Subject: | Re: take text before '-' and after it | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128023@lists.php.net to get a copy of this message | ||
> How can I take some text before the mark - and after it and put them for
> example in array. The purpose of this is to read trough mp3 files which
> are in the form of artist - song.mp3 and put them into a text file so I
> can put them into mysql db.
$array = explode("-",$song);
---John Holmes...