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_150...@m-r-d.de> To: How to use LiveCode <use-livecode@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@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