HasWhitespace Function

  • Updated

The HasWhitespace function returns true if a given string starts with, ends with, or contains duplicate whitespace.

Syntax

 

The HasWhitespace function returns true if a given string starts with, ends with, or contains duplicate whitespace.

 

HasWhitespace(value)

 

 

Arguments:

 

 

 

value

String - The string to check.

Remarks

  • The following characters are considered whitespace: space, tab, carriage return, line feed, page break.
  • Example: HasWhitespace(" test value") returns true.
  • Example: HasWhitespace("test value") returns true.
  • Example: HasWhitespace("test value") returns false.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.