Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Delimiter woes

707697Sep 24 2008 — edited Sep 24 2008
In brief, here is my problem. I'm attempting to scan a string for a very large number that will always start after a ";" and end just before a "=" (without the quotes). I thought I might be able to do this with useDelimiter but it seems I'm on the wrong path here. Could anyone point me toward what I need to grab a string from within two certain points.

For reference, the string will look like this:

;################=xxxxxxxxxxxxxxxx?

Where # represents some number


P.S. I cannot use substring because the number in question is of variable length.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2008
Added on Sep 24 2008
12 comments
197 views