need help creating this function
Moderator: General Moderators
-
darken1515
- Forum Newbie
- Posts: 2
- Joined: Tue Apr 01, 2008 12:29 am
need help creating this function
need help creating an array
Last edited by darken1515 on Tue Apr 01, 2008 1:22 am, edited 1 time in total.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: need help creating this function
Code: Select all
$instr='ABc25K3';
preg_match_all('/[a-zA-Z][0-9]/', $instr, $matches);
echo implode('<br/>', $matches[0]);(#10850)
-
darken1515
- Forum Newbie
- Posts: 2
- Joined: Tue Apr 01, 2008 12:29 am
Re: need help creating this function
Thank you