Pessoal tenho o seguinte código:
Tenho a variavel:
String s3 = "||1234||9874||9875||";
Estou usando Split que teoricamente me devolveria um array com:
1234
9874
9875
String s3 = "||1234||9874||9875||";
String [] temp = null;
temp = s3.split("||");
for (int i = 0 ; i < temp.length ; i++) {
Syso(temp[i]);
}
}
Aloguem tem ideia do que ta errado ??
