Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] mv_searchspec if statements (Thanks Racke)



******    message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net>     ******

Luke Lozier schrieb:
> 
> ******    message to minivend-users from "Luke Lozier" <lozier@best.com>     ******
> 
> Thanks!  Works great.  Now, is there a way to make it print if it INCLUDES
> mystery in the searchspec.  In other words, so it doesn't have to be an
> exact match?
> 
> Thanks,
> 
> Luke

[DEL]
> [if scratch searchspec eq "mystery"]

Do you mean something like to test the content "Sky | Hell | mystery"
has "mystery" anywhere?
Yes! -> try

[if scratch searchspec =~ /mystery/]

Joachim

-- 
-------------Hans-Joachim Leidinger---------------------


-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: