Hi. I have a string, like;
$_ =~ s/Universities Worldwide Search //;
$_ =~ s/\.htm|\.html//;
$_ =~ s/\d$//;
The part in red just doesn't seem to be doing what its supposed to. Anyone got any ideas on how I can remove the digit from the end? (its not on the end of all the array values).
TIA
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Code:
$_ = 'Universities Worldwide Search Argentina2.htm'; $_ =~ s/Universities Worldwide Search //;
$_ =~ s/\.htm|\.html//;
$_ =~ s/\d$//;
The part in red just doesn't seem to be doing what its supposed to. Anyone got any ideas on how I can remove the digit from the end? (its not on the end of all the array values).
TIA
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

