• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Comparing strings

 
venkata harish dodla
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is the first string
this is the second string

For comparing the above two sentences, we split the second sentence into sub-strings of equal length (for ex : 3) and then compare it with first sentence then we get the copied patterns.
"thihisisssisthestrtririning" this would be the copied pattern. now we need to get the original copied string
i.e, "thisisthestring". please help me in getting this using C.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic