Thread
:
Creating and filling an array with 3 fields per record
View Single Post
07-29-2002, 04:44 AM
PM User
|
#
2
kharaktur
New to the CF scene
Join Date: Jul 2002
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry, I don't really understand your checkbox question but a simple way to split your example string would be:
$str = "thedir/thefile.ext";
@s = split(/\W/, $str);
Results in @s:
thedir
thefile
ext
Hope this helps.
kharaktur
View Public Profile
Find More Posts by kharaktur