File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes C / C++ and the fly likes Comparing strings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "Comparing strings" Watch "Comparing strings" New topic
Author

Comparing strings

venkata harish dodla
Greenhorn

Joined: Apr 23, 2012
Posts: 1
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Comparing strings
 
Similar Threads
what is the difference between "" and " "?
Implementing compareTo
Regarding String Literals And String Objects
String Confusion
Help with "scan.next() incompatible types"