String st="172.12.23.23";
String [] st1=st.split(".");
System.out.println("string split ="+st1.length );
above code gives me empty array of String how to change my regex expression i.e "."
so that this method will give give me array with 4 elements=172,12,23,23
String [] st1=st.split(".");
System.out.println("string split ="+st1.length );
above code gives me empty array of String how to change my regex expression i.e "."
so that this method will give give me array with 4 elements=172,12,23,23