Not aware of any such custom implementation of the strcmp() functions ....

But here is something which you can try : Take the words from the first
strings & search them in the second. If all words exists in the same order
(compare the index to determine the order), then you can say that these are
the strings which are same. Also you need to match the total numbers of
words in both the strings.

For example in below strings sandro & computer are the words. Hope this
helps.

Cheers !

On Tue, Oct 7, 2008 at 10:52 AM, Sandro Noel <[EMAIL PROTECTED]> wrote:

> Gretings.
>
> i'm having a problem comparing some type of strings, for example the one
> giving me a problem right now.
> is let's say in my database i have 4 version of the same string .
>
> "sandro's computer"
> "sandro's_computer"
> "sandros computer"
> "sandros_computer"
>
> I would like them to compare as being equal,
> is there a way I can mingle with the comparing routine
> to ask it to ignore some characters in the comparison?
>
> thank you!
> Sandro.
>
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/dan.ribe%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to