摘要:
https://blog.csdn.net/zzlzy1989/article/details/96458591 字符转换整型 var a = "12345abc" b = parserInt(a) 12345 var a = '12345' b = parserInt(a) 12345 整型转字符 阅读全文
摘要:
使用js正则进行截取: 1.截取两个字符中间的字符 var submit = 6.2.12345abcd submit.match(/6.2.(\S*)abcd/)[1]; 2.截取某个字符后面的字符 var submit = 6.2.12345abcd submit.match(/6.2.(\S* 阅读全文