textbox string search

  1. D

    managing and searching text in textbox (Compact Framework)

    Hey all.. Here is my problem.. I have a textbox (TextBox1) it contains path, like (/program files/folder1/folder2) Just like that.. So i need to search for LAST string = "/" and delete it and everything it has after it, when a button is pressed, for example like this: before pressed button...