no Space
Throw an exception if the string contains whitespace. Whitespace is not allowed in tagNames and attributes.
Parameters
string
A string.
Throws
Thrown if the string contains whitespace or is empty.
Throw an exception if the string contains whitespace. Whitespace is not allowed in tagNames and attributes.
A string.
Thrown if the string contains whitespace or is empty.