To check if a string contains only spaces, call the `trim()` method on the string and check if the length of the result is equal to `0`.
確定! 回上一頁