Possible Duplicate:
PHP split string into integer element and string
I have a directory with these files
FILEA10.TXT
FILEB20.TXT
FILEC5.TXT
I need to read the list into array:
filea => 10
fileb => 20
filec => 5
What is the fastest way or function to do this?
1 Answer