摘要:
1、Remove例: StringBuilder val = new StringBuilder(); val.Append("...."); val.Remove(0,val.Length);//清空2、Replace StringBuilder val = new StringBuilder() 阅读全文
摘要:
var title = "xxxx"; var content = '<iframe scrolling="auto" frameborder="0" src="Purchase/PurchaseAdd.html" style="width:100%;height:100%;"></iframe>' 阅读全文
摘要:
//任意正整数,正小数(小数位不超过2位) var isNum=/^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/; var num = '666.62'; if(isNum.test(num)) { return true; } // 阅读全文