[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
On Thu, Mar 02, 2000 at 01:05:26PM -0500, Adam Cormany wrote:
> I've noticed match_begin to match incomplete arguments to a string, but only
> at the beginning of the string. Example: match_begin("insanity", "ins")
> would return true.
> Is there any matching that matches incomplete arguments to a string, but at
> the end? Something like match_end("insanity", "ity")? Thanks

There are also two other ways:

     stridx("insanity", "ity", -1)

     match_regexp("insanity", "ity$")

-Brandon

PGP signature