string splitting
- From: xyz <lavanyareddy.p@xxxxxxxxx>
- Date: Tue, 29 Apr 2008 03:55:09 -0700 (PDT)
I have a string
16:23:18.659343 131.188.37.230.22 131.188.37.59.1398 tcp 168
for example lets say for the above string
16:23:18.659343 -- time
131.188.37.230 -- srcaddress
22 --srcport
131.188.37.59 --destaddress
1398 --destport
tcp --protocol
168 --size
i need to split this string such that i need to get all these
parameters....the filed widths are not fixed...some time i have 4/3
digits srcport
thank you for any help
.
- Follow-Ups:
- Re: string splitting
- From: santosh
- Re: string splitting
- From: Paul Herber
- Re: string splitting
- Prev by Date: Re: A site for all your programming language needs
- Next by Date: Re: The computational complexity of the Sieve of Eratosthenes
- Previous by thread: nike air jordan 1 4 6 shoes from china
- Next by thread: Re: string splitting
- Index(es):
Relevant Pages
|