検索 - User list
Full Version: Vex: Fix Backslashes into Frontslashes
Root » Technical Discussion » Vex: Fix Backslashes into Frontslashes
olivierth
Hi!

I've posted about this about 2 years ago and found the solution. Sadly, I'm getting into the same problem and the solution doesnt work this time.

I've got a path with backslashes that I want to convert with frontslashes. It's not working and I don't get why...

Here's the old post about it: https://www.sidefx.com/forum/topic/85105/ [www.sidefx.com]
jsmack
backslash is the 'escape character' in several languages. if you want a literal backslash, it needs to itself be escaped with another backslash. depending on how many layers if indirection, it could take more than one extra backslash to get a literal backslash. I tend to start at two and use trial and error to find out how many it needs. wrangles need to put at least three or four in place of one to work, but it depends on how they get in the code.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB