On 10/02/2010 16:07, Björnke von Gierke wrote:
you already got a few interesting entries to try, but I haven't seen this one. I'd use this, because I suck 
at regexp and because one never know if someone added a suffix of "jpeg" or "jpg" or 
"j" or...

function removeSuffix theName
   set the itemdelimiter to "."
   return item 1 to -2 of theName
end removeSuffix

That one IS clever!

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to