I didnt know you couldn't split with multiple characters like || actually. I thought the Array placement was quite strange..
How about this?
String myString = "a||b||c";
myString = myString.replace("||", ",");
String[] split = myString.split(",");
System.out.println(split[0]+split[1]+split[2]);
There wont be any problems with looping through the arrays then...