It is my Computer Notes. Using Guide : object-key or object-key-key e.g. Step 1 Blog Search : [mysql-run] and then Step 2 ctrl+F [mysql-run] {bookMark me : Ctrl+D}
2013年8月6日 星期二
java-strtra java jsp strtra replace java-replace java-replaceall
Replace All Special Character
if(LoadV[a][44].indexOf("[ENDUSERTYPES]")>=0){ LoadV[a][44]=LoadV[a][44].replaceAll("\\[ENDUSERTYPES]","")+ConfigV[17]; }
result=result.replaceAll("\r", "<z>");
result=result.replaceAll("\n", "<z>");
//viewContentCtl=viewContentCtl.replaceAll(":","=");
Input[iInputCount][58]=Input[iInputCount][58].replaceAll("this.\\.",Input[iInputCount][3]+".");
result=result.replaceAll("'", "<SinglEQuoT>");
someString.replace("HelloBrother", "Brother")
String a = "HelloBrother How are you!";
String r = a.replace("HelloBrother","Brother");
print.i(r);
String s1 = "HelloSuresh";
String m = s1.replace("Hello","");
System.out.println(m);
java session to string session2string
String s6b = (String)session.getAttribute("EmployeeRecordID");
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言