Answers for "trim function javascript next line"

1

javascript trim newline

str = str.replace(/^\s+|\s+$/g, '');
Posted by: Guest on May-14-2021

Code answers related to "trim function javascript next line"

Code answers related to "Javascript"

Browse Popular Code Answers by Language