On Sat, 06 Jan 2001 01:39:24 +0530 Sumit Rangawala <sumitr@xxxxxxxxxxxx> wrote: > Prashant Ramachandra wrote: > > > $string =~ s/^ *// # Two spaces after ^. > > > > Not necessarly two space. Even one will suffice. Last mail I suggested to use $string = " Hello World"; ($newstr) = $string =~ m/\s*(.*)/; with this you wont loose original string. Ofcourse it depends on requirement.