Posted by oswald on 01/08/06 23:29
ok.. here's the deal...
I have an array of file names (read from directory). I'm having trouble
working out something like this :
user searches the files (array of filenames, say array1) for a specific
name (filenames are something like "JOHN SMITH.jpg" - yes, they contain
spaces and I can't change that).
So - for example - user searches for "SMITH"
I'm looking for a script that would find any array objects that contain
"SMITH" in array1 and put the corresponding objects (whole file names
containg that name) to array2.
hope I was clear enough...
--
oswald
gg: 7777 | I deny the current reality and substitute it with my own.
[Back to original message]
|