Title: multiple delims...

I am trying to take a line of text from a StringBuffer object and pull out a chunk of text from it.  I has investingated the StringTokenizer, but this sorts with only one delim.  also, Tokenizer cannot return me the location #(on the line) of the tokens.  only the amount of them.

question...
what can I use to return 2 delimeters, and the locations of both?  essentially I want the characters between the two tokens.

    James McKain
    800.473.3789 x2013
    Contract Support Engineer
       lDePuy Orthopaedics, Inc.

                           a Johnson & Johnson  Company

Reply via email to