Solved String help

found it

need to assing it to a text var like that

st1 = line.replace(",", “.”,1)

trying to replace a coma with a dot in a text number read from a txt file !

line.replace(",", “.”,1)

but not working

can someone tell me how to make it work

thanks

This is a gotcha that gets everyone once in nearly all high level languages.

but I added it to a print command and it still refused to do it
which I think should have work but did not!

something was wrong not certain what !

thanks

yeah it should have and paste into the console should have too as the console echo’s back results
it may be one of those obscure bugs that popup once in a while.
I try and assign stuff and not rely on those sort of things it makes the code a bit bigger but easier to follow later anyway.