Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove whitespace in Javascript

const str3 = "   Hellow   World! "
const str3Res = str3.trim() //"Hellow   World!"
Source by prionto71.medium.com #
 
PREVIOUS NEXT
Tagged: #remove #whitespace #Javascript
ADD COMMENT
Topic
Name
8+8 =