JS字符串对象
摘要:1、JS字符串length属性 在JavaScript中,对于字符串来说,要掌握的属性就只有一个,那就是length属性。我们可以通过length属性来获取字符串的长度。 字符串名.length 2、match()方法简介 match()方法就是用来检索一个字符串是否存在。如果存在的话,返回要检索的
阅读全文
posted @ 2021-07-10 11:05
posted @ 2021-07-10 11:05
posted @ 2021-07-08 15:01
posted @ 2021-07-08 11:38
posted @ 2021-07-08 11:25