Hi,
Does anybody know how to remove illegal characters from a string?
The find function in Lua only seems to find a exact string.
I have a list of illegal chars, for example:
invalidList = ",<.>?;:'@#~]}[{=+)(*&^%$£!`¬| -_"<br><br>text = "Any text as long as theres no illegal character, like ?"<br><br>
I looked into the documentation string.find, string.gsub but can’t find a solution.
[import]uid: 50459 topic_id: 17270 reply_id: 317270[/import] </.>
[import]uid: 3826 topic_id: 17270 reply_id: 65307[/import]