My code:
string strFilePath = textBox1.text;
The textbox's text typically looks like C:\today\abc def.txt.
I want to isolate 'abc def' into its own string. That is, everything before '.txt' but after the last '\'.
The string manipulation that I'm familiar with uses Split and Last, but neither are applicable here (I think).
abc def.txtthe name of the file or the folder is calledabcand the filedef.txt?