字符串
String str ="$9.12";
Matcher matcher=Pattern.compile("[0-9]").matcher(str);
if(matcher.find()){
System.out.println(matcher.start()); //字符串位置
System.out.println(str.substring(0, matcher.start()));
System.out.println(str.substring(matcher.start(),str.length() ));
}