Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
To return the longest common Sub-String of two strings
Mysura Reddy
9y
343
1
Reply
I want a program to return the longest common sub-string of two strings.
ex:- if two strings are
string str1="Hello how are you"
string str2="Hello chinni, how you doing"
the output should return 'Hello'(The longest common substring)
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
An exception of type 'System.InvalidCastException' occurred
i Getting 'System.InvalidCastException' error