From: sathyz Date: 2008-08-10T19:17:50+09:00 Subject: Re: strip with some other character On Aug 8, 5:04 am, 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. a = "Ruby," a.chomp(',') # a.chomp!(',') # but this will remove only the last (one) ','