Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to check if there is one or more interrogations marks in a string?

Asked by
Necro_las 412 Moderation Voter
3 years ago

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

0
Have you tried string.find Cirillix 110 — 3y
0
Escape it by "%": "%?" Ziffixture 6913 — 3y

Answer this question