EDN Admin
Well-known member
Ive been trying to use the string.Replace() method to basically swap 2 folder locations, in other words ive passed an array of foldernames in a directory to a method, and using the string.replace method im trying to strip the original location of the folders in that directory off the string and replace it with another folder location so i can compare the 2 directory trees, for some reason i cant tell, it doesnt seem to work. Ive attached a screenshot whilst runnin in debug mode to show what the strings are and it should make more sense, as in ChechForFoler string should be the same as targetRootFolder string once the replace method has done its work but it isnt.
Screenshot: <a title="http://img88.imageshack.us/img88/6946/strangezc8.jpg http://img88.imageshack.us/img88/6946/strangezc8.jpg here .
Any help would be appreciated.
Dave
View the full article
Screenshot: <a title="http://img88.imageshack.us/img88/6946/strangezc8.jpg http://img88.imageshack.us/img88/6946/strangezc8.jpg here .
Any help would be appreciated.
Dave
View the full article