A
Andrus
I need to implement vfp function which uses * and ? wildcards:
static bool Like( cExpression1, cExpression2)
cExpression1
Specifies the character expression that Like( ) compares with cExpression2.
cExpression1 can contain the wildcards such as * and ?. The question mark
(?) matches any single character in cExpression2 and the asterisk (*)
matches any number of characters. You can mix any number of wildcards in any
combination in cExpression1.
cExpression2
Specifies the character expression LIKE( ) compares with cExpression1.
returns true on wildcards match.
How to implement this ?
Andrus
static bool Like( cExpression1, cExpression2)
cExpression1
Specifies the character expression that Like( ) compares with cExpression2.
cExpression1 can contain the wildcards such as * and ?. The question mark
(?) matches any single character in cExpression2 and the asterisk (*)
matches any number of characters. You can mix any number of wildcards in any
combination in cExpression1.
cExpression2
Specifies the character expression LIKE( ) compares with cExpression1.
returns true on wildcards match.
How to implement this ?
Andrus