Re: ends not / begins not …. not possible?
dunbarx at aol.com
dunbarx at aol.com
Thu Jan 31 09:07:25 EST 2013
Matthias.
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"
or
if char -4 to -1 of tFile = ".xls"
Craig Newman
-----Original Message-----
From: Matthias Rebbe <matthias_livecode_150811 at m-r-d.de>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Thu, Jan 31, 2013 8:50 am
Subject: ends not / begins not …. not possible?
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?
Regards,
Matthias
--
Matthias Rebbe
matthias (at) rebbe.tk
Tel +49.5741.310000
Tel +49.160.5504462
--
_______________________________________________
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