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}
2017年4月2日 星期日
java-string unknown number of space to 1 space
strVariable.replace("source1","target1").replace("source2","target2");
*********************************************************
unknown number of space to 1 space
envelopeAddress1=envelopeAddress1.trim().replaceAll("\\s{2,}", " ");
envelopeAddress2=envelopeAddress2.trim().replaceAll("\\s{2,}", " ");
envelopeAddress3=envelopeAddress3.trim().replaceAll("\\s{2,}", " ");
envelopeAddress4=envelopeAddress4.trim().replaceAll("\\s{2,}", " ");
訂閱:
文章 (Atom)