I am trying to break a string. Here is the line.
string fileName = "description/ask_question_file_10.htm"
I need to remove "description /" and ".htm" from this line. Therefore, as a result, I am looking for "ask_question_file_10". I have to look for "/" and ".htm". I appreciate any help.
source share