Re: ends not / begins not …. not possible?

Klaus on-rev klaus at major.on-rev.com
Thu Jan 31 08:57:29 EST 2013


Hi Matthias,

Am 31.01.2013 um 14:49 schrieb Matthias Rebbe <matthias_livecode_150811 at m-r-d.de>:

> Hi,
> 
> am i doing something wrong or is it really not possible to check if a string does not begin/ends with a prefix/suffix
> If tFile ends not with ".xls" then…..
> This does not work.  Is it really not possible?

you here like Yodah need to speak :-D
...
If NOT tFile ends with ".xls" then
...

Or better:
...
If NOT (tFile ends with ".xls") then
...

Or this one, better read- and understandable:
If (tFile ends with ".xls") = FALSE then
...

:-)

> Regards,
> 
> Matthias
> 
> --
> Matthias Rebbe

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list