1. 首页
  2. 数据库
  3. 其它
  4. js字符串操作总结(必看篇)

js字符串操作总结(必看篇)

上传者: 2021-02-24 05:02:36上传 PDF文件 67.79KB 热度 14次
字符方法 <!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>字符方法</title> </head> <body> [removed] /* charAt方法和charCodeAt方法都接收一个参数,基于0的字符位置 charAt方法是以单字符字符串的形式返回给定位置的那个字符 charCodeAt方法获取到的不是字符而是字符编码 */ var str=hell
用户评论