摘要:
PHP substr strposJAVA subString indexofPHP: $pos=strpos("12345", "3"); $substring=substr("12345", 0,$pos); echo $substring;输出:12JAVA: String str="12345"; int pos=str.indexOf("3"); String substring=str.substring(0, pos); System.out.println(substring); 阅读全文
posted @ 2011-08-30 08:51
xngeer
阅读(187)
评论(0)
推荐(0)
浙公网安备 33010602011771号