Substitute (Path_Partes_tareas; “//”;“\” )
the backslash is the "escape character" in strings. It tells FileMaker to "treat the next character as just a character and not anything else". That way, "/"Quoted Text/"" evaluates as "Quoted Text"--quotes included. So to get the backslash to be evaluated as a backslash, you have to escape it as well by doubling the character.
I changed to your script but i still got the error message. the problem is the "\" at the end, because
Substitute (Path_Partes_tareas; “/”;“a” ) works just fine.
Sorry, goth them reversed. The \ is the one that needs to be doubled. The / should not need to be doubled.