1
Answer

To return the longest common Sub-String of two strings

Mysura Reddy

Mysura Reddy

9y
343
1
   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) 
Answers (1)