Function Like() Foundation
Determines if a character expression matches another character expression.
Like( <cSkeletonExpr> , <cExpression> ) --> lMatch
The function Like() returns .T. (true) if cExpression matches a specified skeleton string <cSkeletonExpr>. Otherwise the function Like() returns .F. (false).
The function Like() is used to compare one string to another. The skeleton string <cSkeletonExpr> contains wildcard characters and represents a pattern; the <cExpression> string compared to this pattern.
The wildcard character * and ? form a pattern for <cSkeletonExpr>. An asterisk (*) stands for any number of characters, including zero characters. The question mark (?) stands for any single character. Wildcard characters can stand for uppercase and lowercase characters. The comparison is case sensitive. Use Upper() or Lower() for case insensitive comparisons with Like().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.