I will try this, thank you for such quick responses :) Yes the second line was a typo sorry, it should have spaces. I need to keep the spaces as some categories are more than 1 char long eg. qwe a x o p .Without the spaces "qwe" could be interrpted as "q w e" which I do not want. Thanks again ! :)
P.