Char: IsWhiteSpaceStr

IsWhiteSpaceStr

Indicates if the specified character in a string is white space.



 Public Function IsWhiteSpaceStr(
	  ByRef s As String,
	  ByVal Index As Long ) As Boolean

Parameters

s
[ByRef] String. A string.
Index
[ByVal] Long. The position of the character to evaluate in s.

Return Values

Boolean -  true if the character is considered white space; otherwise false.

Remarks

The Index parameter is zero-based where as VisualBasic is one-based.

White space characters are the following Unicode characters:

Exceptions

Exception Condition
ArgumentOutOfRangeException Index is less than zero or greater than or equal to the length of s.

See Also

Project CorLib Overview

Class Char Overview

IsWhiteSpace