Answers for "eliminare spazi inizio e fine stringa javascript"

0

eliminare spazi inizio e fine stringa javascript

let name = "     Mike     ";
console.log(name.trim());

// output: "Mike"
Posted by: Guest on October-08-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language