Like
like is used for pattern matching. It is char-oriented.
_ is used to match characters while % is used to match substrings.
For example,
This can match both Carl and Carol.
will only match Carl.
Last updated
like is used for pattern matching. It is char-oriented.
_ is used to match characters while % is used to match substrings.
For example,
This can match both Carl and Carol.
will only match Carl.
Last updated