I have a string "0000_Clothing|0000_Clothing_Men's|0000_Clothing_Men's_Shirts", and i wanted to split this string on "|".
String CatArray[] = CatContext.split("|");
The above mentioned code is splitting the string into seperate characters like 0,0,0,0,_,C including the | symbol.
What Am i missing here?