[SOLVED] Problem with "\" character - Forum

Forum Navigation
You need to log in to create posts and topics.

[SOLVED] Problem with "\" character

SetVar [test] "blahblah\main.db"
StrIns "blahblah" "\main.db" 0 [test]

Both commands return:
'blahblahmain.db'
Seems like character "\" is ignored in VisualNeo Web.

I tried:

SetVar [SpecialChar] '\'

and still not working.
to work with paths I need to use this character in my strings and variable, is there any code or way to do that?

@noyzen use:

UnicodeToChar 92 [SpecialChar]
SetVar [test] "blahblah[SpecialChar]main.db"
jsAlert [test]

 

noyzen has reacted to this post.
noyzen

Thanks Luis, I searched forum and I saw a post about Unicode to Char, but I wasn't sure this will solve my case, I think now I got how it works...

Will try, Thanks!

luishp has reacted to this post.
luishp