|
-
January 25th, 2006, 05:36 PM
#1
"Special sting comparison"
Greetings,
I am trying to compare strings together in order to extract the common parts in them. For example, if one string is "Twinke twinkle little star" and the second string is "Twinke twinkle little car", I would like to get the similar section of them, which in this case is "Twinke twinkle little". CString.Compare() (which is the same as strcmp()) do not do that obviously. Does anybody know of an existing function somewhere that whould do the above, or at least return the number of characters that are similar?
Thanks,
Aristotel
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|