write the program to count the number of lines in a given string ...
s="hello,\n+ I am \n+"fine\n:
2.how we can display only last file
sivak
-7
Junior Poster
Recommended Answers
Jump to Posts="hello,\n+ I am \n+"fine\n: WHAT is that?!??
I think you mean something like :
string s = "hello,\n" + "I am \n" + "fine\n";Use the Split function to accomplish what you want.
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.