Filter and the Question Mark (escaping ? in regex)

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Jan 23 06:00:35 EST 2013


Malte,

Try this:

    filter tText with "*[?]*"

Kind regards,

Mark



On 1/23/2013 11:49 AM, Malte Brill wrote:
> Hi,
>
> I got a var tText that contains:
>
> asdf
> jkl?
> bcdk
>
> I want to do something like this
>
> filter tText with "*\?*"
>
> which should leave me with only jkl?. This does not appear to work. Any pointers on how to correctly escape the question mark greatly appreciated.
>
> Cheers,
>
> Malte




More information about the use-livecode mailing list