how to split the string in java in Windows?
I used
Eg.
String directory="C:homepublicfolder";
String [] dir=direct.split("");
I want to know how to split the string in eg.
In java, if I use "split("")"
, there is syntax error.
thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…