[Gambas-user] Correctly using the LIKE operator
MaxVK
maximvonk at ...626...
Sat Mar 22 18:09:43 CET 2008
Mike Keehan-2 wrote:
>
> Hi Max.
>
> I don't think LIKE will do what you want.
>
> When you code 'IF CheckWord LIKE "[abcd]*" THEN ...', then the IF
> condition is true if CheckWord starts with any of the letters 'a',
> 'b', 'c', or 'd'. The square brackets are used to match against a
> single character of CheckWord.
>
> 'LIKE' will not say that 'picure' is similar to 'picture' for example.
>
> I suggest you research (i.e. google) for Soundex, and for correlate.
>
> Best of luck,
>
> Mike.
>
Aha! Thanks Mike. I think I was becoming a little confused about what LIKE
actually does. Iv found some information on soundex and its looking
promising.
Cheers
Max
--
View this message in context: http://www.nabble.com/Correctly-using-the-LIKE-operator-tp16218560p16224753.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list