Hi Guys ,
I have a line which is like this :-
"C:\\Users\\saurabh\\Desktop\\Projects\\Texts\\A Sign of the Times.txt"
how can i jus extract the last part of it which is
A Sign of the Times.
Thanks
Hi Guys ,
I have a line which is like this :-
"C:\\Users\\saurabh\\Desktop\\Projects\\Texts\\A Sign of the Times.txt"
how can i jus extract the last part of it which is
A Sign of the Times.
Thanks
Here pseudo code
Do streamreader untill null
{
String readline = SreamLine;
}
MessageBox.Show(readline);
I got it guys .This is what i was suppose to do
int coll = names[currentFile].LastIndexOf(@"\");
string sub = names[currentFile].Substring(coll + 1);
int coll2 = sub.LastIndexOf(@".");
string sub2 = sub.Remove(coll2);
item.article = sub2;
O sorry I see what happened.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.