const str = 'Js removes a specified character in a string - Java Programs - CSDN Blog';
let tempArr = [];
tempArr = str.split('a ');
const newStr = tempArr.join(''); // Js removes specified character in string - JavPrograms - CSDN Blog
wx5864b4ab50c8a 博主文章分类:js ©著作权
const str = 'Js removes a specified character in a string - Java Programs - CSDN Blog';
let tempArr = [];
tempArr = str.split('a ');
const newStr = tempArr.join(''); // Js removes specified character in string - JavPrograms - CSDN Blog
上一篇:伪类实现中间文字两边画横线
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M