string path =c:/document/abc.doc
this is my input string
i want the output only abc not .doc
can any one tell me the code for this plz
sivak
-7
Junior Poster
Recommended Answers
Jump to Postuse split function
string output=path.Split('.');
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.