Using string.match(str, "?") results nil since "?" is a string pattern sign that means something else, so how could I match an actual "?" ?

2 comments

0

Have you tried string.find

0

Escape it by "%": "%?"