Hey, Im trying to figure out how to read a starting and ending point in a string. What Im trying to have accomplished is something like this (This code doesn't work)
string str = "";
//str = readfrom(textBox1.Text, "start Character", "End Character");
str = readfrom(textBox1.Text, "[", "]");
textbox2.text = str;
So if you entered this into textbox 1
ehaoighaeogiuaehga[SupDaniweb?]euj38921t891ht3t
then Textbox 2 would read
SupDaniweb?
Or whatever you put in the []
This would help me out a lot, Thanks :D
-Cheers