Basically I want to put C:\cameraTest\something\ into a single quoted string, but I’m not entirely sure how to properly escape the final backslash as it ends up escaping the single quote if I do so. Thanks for any help in advance!
Basically I want to put C:\cameraTest\something\ into a single quoted string, but I’m not
Share
That string doesn’t have any backslash characters. It has only forward slashes, which are not escape characters and don’t require special treatment in strings.
If it did have backslash characters, they would be escaped with another backslash.