|
-
February 11th, 2009, 01:10 AM
#1
Escape character problem
I have file urls stored in a database field. Urls are like this:
"\\Images\Sunset.jpg"
Where I retrieve it and store in tha string variable it becomes
"\\\\Images\\Sunset.jpg";
@ character can be used with strings like strval=@"\\Images";
But how do I use it with string variables or Database values? Other than using Replace("\\","\"), can anyone suggest a better solution?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|