Trimming a string in JavaScript ... Question: How do I trim leading and trailing spaces of a string? ... This code example uses the regular expression /^\s+|\s+$/g ...
確定! 回上一頁