harshashende has asked for the wisdom of the Perl Monks concerning the following question:
I am new to perl .I want to remove first word from each row of my file and save the rest data in other file, for this I am using substr function for eg..
i/p : 1234 Run test
want o/p :Run test
but getting output : R u n t e s t
I referred to the post 'Perl Regex with Extra Spaces' and included the code given there in my code, but still getting the same error. Searched a lot my not getting anything .
Please help for the same. thanks in advance
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: extra spaces between the characters in string
by davido (Cardinal) on Jun 08, 2011 at 07:27 UTC | |
| |
|
Re: extra spaces between the characters in string
by moritz (Cardinal) on Jun 08, 2011 at 07:30 UTC | |
|
Re: extra spaces between the characters in string
by ikegami (Patriarch) on Jun 08, 2011 at 07:42 UTC | |
by harshashende (Initiate) on Jun 08, 2011 at 08:45 UTC | |
|
Re: extra spaces between the characters in string
by locked_user sundialsvc4 (Abbot) on Jun 08, 2011 at 12:46 UTC | |
by BrowserUk (Patriarch) on Jun 08, 2011 at 13:05 UTC | |
by SuicideJunkie (Vicar) on Jun 08, 2011 at 16:15 UTC |