-1

I've used

String[] red = linija.split("(?!^)");

and now in this String array I want to know if red[0] is "/". Tried (red[0] == "/") and with "//", please help.

1 Answers1

0

Have you tried red[0].equals("/") ?

3751_Creator
  • 656
  • 2
  • 8
  • 22