From: Martin DeMello Date: 2008-08-08T09:09:45+09:00 Subject: Re: strip with some other character On Thu, Aug 7, 2008 at 5:03 PM, Junkone wrote: > strip function removes the trailing whitespace. i want to remove > trailing comma's. is there a additional parameter for strip or some > other function to do the same. string.gsub(/^,+/, '').gsub(/,+$/, '') martin