HELP! How do I strip down a string entered from a form?
Posted on 2003-11-24
Hi all & thanks for reading this.
I'm yet another newbie to JSP and struggling a little with a this problem..
I want to strip down the password entered by the user via a form then run a query on SQL on each letter of the String (like an encryption process).
For example: password entered = "Test"
split this down.... 1st letter = T
Run query on "T" and Database returns "A"
2nd letter = "E"
Run query on "E" and Database returns "J"
And so on.. so the password "TEST" is actually "AJTF" (simple encyrption)
I have created the database's but I'm just not sure how to strip the string!
If you could help I would appreciated it very much!