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

dunbarx at dunbarx at
Thu Jan 31 09:07:25 EST 2013


This is simple to check, and there are several ways to do it. If you know exactly what the starting (or ending) string is, like ".xls" then you can always:

if char 1 to 4 of tFile =  ".xls"


if char -4 to -1 of tFile =  ".xls"

Craig Newman

-----Original Message-----
From: Matthias Rebbe <matthias_livecode_150811 at>
To: How to use LiveCode <use-livecode at>
Sent: Thu, Jan 31, 2013 8:50 am
Subject: ends not  / begins not …. not possible?


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?



Matthias Rebbe
matthias (at)
Tel +49.5741.310000
Tel +49.160.5504462

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription 


More information about the use-livecode mailing list