substring and ascii values
Posted on 2004-04-13
I have a string that i need to get the last four characters of and then step the certain characters either four characters back or forth throught the alphabet.
for example of the letter were "G" i may have to step "H -> I -> J -> K".
This solution will also need to account for looping if A needs to be stepped back to Z -> Y -> x etc.
I would do this myself but do not know how to work with ASCII values in JSP.