I have as string as "pas" and "with_pas". I want to replace it with blank string. Now I am doing as follows
string.gsub("pas","").gsub("with_pas","")
In some scenario i get the string as "pas" and in some other with "with_pas".
Is there a better way to do this?