_Like Function | |
Determine if a string matches a wildcard pattern (like the wildcard pattern for the DIR command in the OS).
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax FUNCTION _Like(
sWildCard AS STRING,
sSource AS STRING
) AS LOGIC
public static bool _Like(
string sWildCard,
string sSource
)
Request Example
View SourceParameters
- sWildCard
- Type: String
The wildcard to use. '*' matches 0 or more characters until the next non-wildcard character, '?' matches any character, all other characters must match exactly. - sSource
- Type: String
The string to examine.
Return Value
Type:
LogicRemarks This function is case sensitive. If you want to do a case insensitive compare, use Like()
See Also