On Mon, Sep 09, 2002 at 08:04:24PM -0500, dizzy74 wrote: [snip] > I did perldoc -q trim and nothing. Of course chop and chomp were there > but diddnt seem to work in a pinch (or I couldnt understand how to apply > the function in my case.
The FAQ entry you're looking for is perldoc -q 'strip blank space'. You might want to browse through all of the FAQ entries just to get some idea idea of what's being asked and answered. chop is for lopping off a single character from the end of a string, it doesn't care what that character is; see perldoc -f chop. chomp is for conditionally chopping, based on what's in $/; see perldoc -f chomp; Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]