摘要:
---------数学函数 1.绝对值 S:select abs(-1) value O:select abs(-1) value from dual 2.取整(大) S:select ceiling(-1.001) value O:select ceil(-1.001) valu... 阅读全文
摘要:
package com.test;public class SubStr { public static void main(String args[]){ String source= "as他df我的world"; Invoke invoke = new Invoke(); Strin... 阅读全文
摘要:
//以启动QQ为示例【参数为QQ的安装路径】try { String command = "C://Program Files//Tencent//QQ//QQ.exe"; Runtime r = Runtime.getRuntime(); r.exec(command);} catch (IOEx... 阅读全文
摘要:
Pattern p = Pattern.compile("a*b");//正则表达式 Matcher m = p.matcher("aaaaab");//匹配的字符串 boolean b = m.matches();//等价于: boolean b2 = Pattern.matches("a*b"... 阅读全文