I have an array
String[] values = new String[] {"AB","BC","CD","AE"};
I wanna find the index of the String BC. I know we can use indexOf for integers but wasn't able to find anything simple for string.
I have an array
String[] values = new String[] {"AB","BC","CD","AE"};
I wanna find the index of the String BC. I know we can use indexOf for integers but wasn't able to find anything simple for string.