hallo!
Is there some method to parse with PHP following file name:
f1_d1_p1000100_n0027285977_an9100601010_in3000008908.pdf
So that is received ARRAY
Yes, I have method for this:
$piece = explode ("_", "f1_d1_p1000100_n0027285977_an9100601010_in3000008908.pdf");
And here is massive:
Array
(
[0] => f1
[1] => d1
[2] => p1000100
[3] => n0027285977
[4] => an9100601010
[5] => in3000008908.pdf
)
But how I can undo ".pdf" from last element in massive ([5] => in3000008908.pdf):rolleyes:
Thanx!