kellypayton
MIS
hey
This is the code I found online which strips spaces from the end of a text field in my form before its saved to the flatfile
$strip = $form{'gametitle'};
$strip =~ s/\s*$//;
How do i change that so it strips out other characters like these " ? > @ $ & ..and so on?
This is the code I found online which strips spaces from the end of a text field in my form before its saved to the flatfile
$strip = $form{'gametitle'};
$strip =~ s/\s*$//;
How do i change that so it strips out other characters like these " ? > @ $ & ..and so on?