How to remove text from a string in JavaScript? · Syntax. str.substr(start[, length]) · Example. let a = 'Hello world' console.log(a. · Output.
確定! 回上一頁