Philip Rhoades wrote:
> People,
> 
> For more than one white space char:
> 
>   string.gsub( /^..:\s*/, '' )

Actually, * is zero or more. For one or more, use + .

> 
> Phil.
> 
> 
> On 2009-11-22 02:04, Philip Rhoades wrote:
>> On 2009-11-22 01:54, Philip Rhoades wrote:
>>> into:
>>>
>>> phil
>>>
>>> - I can do this with two gsubs - is it possible to do it with one?
>>>
>>> Thanks,
>>>
>>> Phil.
>>
> 
> --
> Philip Rhoades
> 
> GPO Box 3411
> Sydney NSW  2001
> Australia
> E-mail:  phil / pricom.com.au

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen / marnen.org
-- 
Posted via http://www.ruby-forum.com/.