Re: How to split a string read from the file?
- From: jag.robin18@xxxxxxxxxx (Gerard Robin)
- Date: Thu, 30 Mar 2006 20:25:07 +0100
I am off topic regarding your question about split, but with a one-liner like this perl does the work for you:
perl -pi~ -e 's/^\d+ *: *//' file.txt
hth
--
Gérard
.
- References:
- How to split a string read from the file?
- From: pangzhy
- How to split a string read from the file?
- Prev by Date: Win32::GUI Question
- Next by Date: Counting specific elements in a XML object
- Previous by thread: Re: How to split a string read from the file?
- Next by thread: Whimsical Question
- Index(es):