I have to place selected particular set of string from String Array into another array, here I need to combine both equalsIgnorecase
with String startsWith
method.
If I have comparator:
String a= "j";
if(a.startswith("j"))
it returns true only "j", but here i need "J" and "j" has case sensitive, how can I get this.
Thanks in advance.