aspose file tools*
The moose likes Java in General and the fly likes A String manipulaton problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "A String manipulaton problem " Watch "A String manipulaton problem " New topic
Author

A String manipulaton problem

vivek sivakumar
Ranch Hand

Joined: Aug 09, 2001
Posts: 187
i have a string something like this
<docid>=docid@GetDoc
<docid>=docid@GetDoc
<docid>=docid@GetDoc
<.....>=...@....
<......>=...@....
what i want to do is that i need to get the values after the "=" sign and store it in a array
how can i do this someone pls help with a snippet.


SCJP, SCWD <br />A farmer learns more from a bad harvest than a good one.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
What have you tried?
What have you got so far?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
vivek sivakumar
Ranch Hand

Joined: Aug 09, 2001
Posts: 187
Originally posted by Dirk Schreckmann:
What have you tried?
What have you got so far?

i have sent u my files in 2 emails to ur yahoo account . pls check that
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Hello Vivek,
Let's make this easier (for me) and share the conversation with the world.
What code have you come up with to try and parse the data for the information you want?
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Thomas SMETS mentioned a useful site on regular expressions in Java over in the Performance forum that might prove useful for you. They provide a regex package for free download and a decent looking tutorial on how to use it.
Of course, Java 1.4 now has a regex package built in, but I haven't found a basic tutorial on how to use it yet.
Good Luck.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A String manipulaton problem
 
Similar Threads
'singleton objects' to coordinate read/write
Hibernate-Search not creating index
New Problem but solved by Manfred
Well is it tough
Same old pproblem.. a bit urgent