>Hi everybody,
>
>I'm creating a very simple small Windows Forms application.
>
>Right now I'm stuck on this thing:
>
>d.FullName.LastIndexOf(DirName)
>
>For some reason it returns 0. I want to experiment in the Immediate Window but I could not find it anywhere.
>
>Thanks in advance.
Found an answer myself here
http://channel9.msdn.com/ShowPost.aspx?PostID=318519Alt+Ctrl+I worked.
Now back to the LastIndexOf problem.
If it's not broken, fix it until it is.
My Blog