How to include "\" in a string through script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2023 03:48 AM
Hi Experts,
I have a scenario like I have a folder paths like below.
Example :
A:\Dev
B:\Test
A:\Test\Dev\Example
Here my scenario is if folder path is A:\Dev and A:\Test\Dev\Example mean if folder path matches exactly these 2 scenarios then based on folder patch I have to assign task to Groups.
Assignment part I can take care but when I am taking the values from folder path escape characters are getting removed (example returning A:Dev, "\" is missing)so task is not assigning to group.
Now I want to get the folder path exactly as a string value through script without escape characters.
Looking for solution.
Thanks & Regards
US
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2023 07:06 AM - edited 02-07-2023 07:08 AM
Hey there,
depending on your scenario (from where you do this) you can try with \/ or ASCII directly (instead of A:/folder A:/folder OR A:\/folder )