showing results for - "javascript remove leading blanks"
Fifi
12 Jan 2018
1
2let str = "       Hello World!        ";
3
4str.trim()   // Returns "Hello World!"
5