Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

eliminare spazi inizio e fine stringa javascript

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

// output: "Mike"
 
PREVIOUS NEXT
Tagged: #eliminare #spazi #inizio #fine #stringa #javascript
ADD COMMENT
Topic
Name
5+4 =