Re: Searching in a line
- From: "Jürgen Exner" <jurgenex@xxxxxxxxxxx>
- Date: Wed, 29 Aug 2007 21:25:47 GMT
lerameur wrote:
Hello all,
I want to do a search in a log file. each line has the following
pattern:
34,56,,9,0,0,,,,65;
So there 10 section. How do I parse through different sections?
perldoc -f split
meaning I want section 4, which is the number 9
$sec4 = split($value)[3]
jue
.
- Follow-Ups:
- Re: Searching in a line
- From: lerameur
- Re: Searching in a line
- References:
- Searching in a line
- From: lerameur
- Searching in a line
- Prev by Date: Re: Appending a character to a field
- Next by Date: Re: Searching in a line
- Previous by thread: Re: Searching in a line
- Next by thread: Re: Searching in a line
- Index(es):
Relevant Pages
|
|