3

Possible Duplicates:
Query String Manipulation in Java
Parsing query strings in Java

I have a string similar to name1=value&name2=value&name3=value. I need to parse this into a map of some sort so I can get at the individual values. I've been googling how to do this, but have come up with many, many different solutions. What's the best way to do this?

3
  • This depends on your definition of best. Fastest to run? Easiest to program? Easiest to understand? Commented Feb 6, 2011 at 4:36
  • @Bert: I'll take a look, maybe it will help me out. Commented Feb 6, 2011 at 4:37
  • @Paulo: Probably easiest to program, I want to keep my code as simple as possible. Commented Feb 6, 2011 at 4:38

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.