I can do it by using StringTokenizer class.
Let me give you an hint: When you get the token, check the "\" char, if you found one replace it with a "|" char and oncatenate it with next token.
Let me give you an hint: When you get the token, check the "\" char, if you found one replace it with a "|" char and oncatenate it with next token.