Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A String manipulaton problem

 
vivek sivakumar
Ranch Hand
Posts: 187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you tried?
What have you got so far?
 
vivek sivakumar
Ranch Hand
Posts: 187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic