T tomcat Jan 8, 2005 #1 I am trying to find the location of "\", I have tried "\\" and @"\". but nothing work, can anyone help please? Tomcat
I am trying to find the location of "\", I have tried "\\" and @"\". but nothing work, can anyone help please? Tomcat
T tomcat Jan 8, 2005 #2 It work when I have a string "ssss \aaa", but it doesn't work when my string looks like "ssss\"
C Chris R. Timmons Jan 8, 2005 #3 It work when I have a string "ssss \aaa", but it doesn't work when my string looks like "ssss\" Click to expand... tomcat, Please post some code demonstrating the problem. This line of code works on my system (.Net 1.1 SP 1): int position = @"ssss\".IndexOf(@"\"); // position = 4.
It work when I have a string "ssss \aaa", but it doesn't work when my string looks like "ssss\" Click to expand... tomcat, Please post some code demonstrating the problem. This line of code works on my system (.Net 1.1 SP 1): int position = @"ssss\".IndexOf(@"\"); // position = 4.