public class Test {
public static void main(String[] args) {
String temp = "123.456";
String[] temp2 = new String[2];
temp2 = temp.split("[.]");
System.out.println(temp2[0]);
}
}
Friday, 21 March 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment