martin: fehler mit replace

Beitrag lesen

hallo,

der code bringt immer einen fehler.
das liegt an dem zeichen \ welches ich austauschen möchte.
wo liegt der fehler? ich möchte nun mal ein \ austauschen

txtapppath = "S:\tools\bla"
for (i=0;i<=txtapppath.length;i++)
{
txtapppathnew = txtapppath.replace(//,"/")
txtapppath = txtapppathnew
}

danke martin