IsSpace Function | |
Determine if the leftmost character in a string is a blank (that is, Chr(9) through Chr(13) or Chr(32)).
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax FUNCTION IsSpace(
pszString AS STRING
) AS LOGIC
public static bool IsSpace(
string pszString
)
Request Example
View SourceParameters
- pszString
- Type: String
The string to examine.
Return Value
Type:
Logic
TRUE if the first character is blank; otherwise, FALSE.
Remarks Examples
These examples illustrate IsSpace() applied to various values:
1LOCAL cString2Examine AS STRING
2cString2Examine := Chr(9) + "Hello"
3? IsSpace(Substr(cString2Examine, 1, 1))
4? IsSpace(Substr(cString2Examine, 2, 1))
5? IsSpace(Substr(cString2Examine, 3, 1))
See Also