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 <kl...@major.on-rev.com> To: How to use LiveCode <use-livecode@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_150...@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 kl...@major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode