[Gambas-user] LIKE function
Nelson Ferraz
nferraz at ...184...
Sat Aug 2 12:42:30 CEST 2003
I'm writing a small text-processing program with Gambas 0.63, and have
come with the following:
IF "zero" LIKE "*one*" THEN PRINT "true!"
This expression returns true, i.e., "zero" is like "*one*".
It seems that "zero" matches "***o" in the beginning of "one", which is
not the intended behavior.
(Perhaps it _is_ the intended behavior, but it's violating the DWIM
principle! :))
Regexps, anyone? :)
[]s
Nelson
More information about the User
mailing list