test(string) returns true if and only if there’s a non-space character in string . Tab and newline count as spaces. Show activity on this post. The \s metacharacter matches whitespace characters .
test(string) returns true if and only if there’s a non-space character in string . Tab and newline count as spaces. Show activity on this post. The \s metacharacter matches whitespace characters .