Hello!
I have a script that stores some names in a textfile. Is it possible that special characters will be deleted before it is stored in the file?
For example my bot should save this name: "-{SFR}-Nick" but it should delete the "{" and "}" so that in the textfile there is only "-SFR-Nick".
OK, thank you, it works, but there is a problem. If there are numbers in the name, my bot does not delete the "{" and the "}". For example: if the nick is "-{SFR}-Nick123", my bot should save this nick in this way: "-SFR-Nick123", but it does not delete the "{" and the "}". This problem only appears if there are numbers in the name. Can anyone help me?
OK, I made a mistake. In the nick I used there were other escape characters like "[" and "]". I deleted them with string map, too, because otherwise the "{" and the "}" would not be deleted.