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

dunbarx at aol.com dunbarx at aol.com
Thu Jan 31 09:10:41 EST 2013


Klaus.


Always some new-fangled gadget that an old Hypercarder like me learns now and then, and makes my suggestions seem so old fashioned.



"begins with" and "ends with". Well, well.



I must really read the dictionary from cover to cover one day.




Craig


-----Original Message-----
From: Klaus on-rev <klaus at major.on-rev.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Thu, Jan 31, 2013 8:58 am
Subject: Re: ends not  / begins not …. not possible?


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


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list