Hi ricardo, can you use substr method, to get the alpha value alone.
ricardodegouveia <[EMAIL PROTECTED]> wrote: Hi all, I have a problem, i currently have a string which i read from a file that contains both alpha and numeric values. eg "GA12312.12 FR3123 ER<1211" How do i just get the alpha characters ie "GA" or "FR" out of the string? And how do i then compare to a Enum type i have created? how do i loop through enum values in code? Thanking you in advance Ricardo K.Neelagandan. 9994307471. --------------------------------- Get easy, one-click access to your favorites. Make Yahoo! your homepage. [Non-text portions of this message have been removed]