[REBOL] Re: Alternate TRIM need
From: SunandaDH:aol at: 24-Aug-2004 15:07
Jim:> I need to trim a string's delimiters. Is there a built in function for > this? > > Or does someone have a nice function?PhoneString: {"123-4567"} print trim/with phonestring {"} 123-4567 trim/with will remove *all* "s not just the first and last: PhoneString: {"1"2"3"-4"567"} print trim/with phonestring {"} 123-4567 Good enough? Sunanda