Hello,
I'm using Hscript for some paths in Houdini and some of the global variables on windows are coming in as Backslashes \ and for some uses I need them as Forwardslashes / in Houdini and \ backslashes outside of Houdini.
Is there a way to change the forward slash to a back slash? Unfortunately backslash is an escape character...
http://www.sidefx.com/docs/houdini13.0/commands/_guide#idm47064707811440
Example
C:\Windows
needs to be
C:/Windows
As silly as this is in order to convert the other way this is the method i have, but doesn't work in the reverse
`strreplace(strreplace("C:\Windows","/","\ ")," ","")`
Thanks
-Ben
Edit: mistyped forward instead of back