This code challenge is to reproduce the
Script BASIC LIKE / JOKER and WILDCARD pattern matching functionality.
LIKE DocsI will be validating all LIKE submissions against SB native LIKE.
Extra PointsFind a user requested number of matches or ALL based on the pattern string. SB LIKE only finds the first occurrence.
Return the JOKER count as a result of LIKE rather than TRUE (-1) / FALSE (0). I always wondered why Peter didn't use JOKER(0) to contain the total number.
Another extended feature that would be nice would be each JOKER also return the starting position of the returned string value in the search string.