hi...
i use a script with timer function to read things out of a txt file which is generated from a other programm...
is there a way before output started to replace characters in other characters in the txt file?
for example: replace all "on" into "-"
thx for help
here is a snippe and example in 1.
function ReplaceChars(string, old, new)
string = gsub(string, old, new)
return string
end
text = "it's on"
text = ReplaceChars(text, "on", "-")
print(text)
plop
great
thx
yw
plop