Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13384

Re: parser ( based on position)

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: parser ( based on position)
Date 2012-04-04 12:56 -0700
Organization Canadian Mind Products
Message-ID <0m9pn7hv8hsov07pu78uqs2ggl1hqn52q4@4ax.com> (permalink)
References <c94b3902-ba3c-464c-9fce-c3533641cbc9@px4g2000pbc.googlegroups.com>

Show all headers | View raw


On Wed, 4 Apr 2012 00:37:00 -0700 (PDT), abk <asha.bagesh@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>I am thinking of the following

All you might need is something like this:

Pattern delimiter = Pattern.compile( " |\||\<|\>");

Then use split.

See http://mindprod.com/jgloss/regex.html

-- 
Roedy Green Canadian Mind Products
http://mindprod.com
When you were a child, if you did your own experiment
to see if it was better to put to cocoa into your cup first
or the hot milk first, then you likely have the programmer gene..

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

parser ( based on position) abk <asha.bagesh@gmail.com> - 2012-04-04 00:37 -0700
  Re: parser ( based on position) Roedy Green <see_website@mindprod.com.invalid> - 2012-04-04 12:56 -0700

csiph-web