vendredi 29 juillet 2016

String Split Pipe

vendredi 29 juillet 2016
Hi,
ich weiß grad nicht weiter...ich habe einen String:

http://ift.tt/2aBTpsU

und möchte den am PIPE (|) splitten, aber ES GEHT NICHT! Ich werd noch irre...
hier Code:
Code (Java):
if (stringImage.contains("\\|")) {
                  String[] images = stringImage.split("\\|");
                  System.out.println(images[0]);
}
 
Klappt einfach nicht, contains ist false, obwohl dieses doofe Pipe drin ist. Gibt es verschiedene Pipes?

String Split Pipe

0 commentaires:

Enregistrer un commentaire

 
◄Design by Pocket