> Hi
>
[quoted text clipped - 10 lines]
>
> Is there a simple way of doing this?
All depends on how you define "simple".
Getting a JSP (or java) tutorial that explains how to use a loop, array
of char, evalutation with if/else and applying that content seems the easiest
solution to me.

Signature
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>