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 On 9 Feb 2010, at 20:01, Richmond Mathewson wrote: > I have a series of image names for the type: > > f#.png > > where # can be a number anywhere between 1 and 6 figures long. > > what I need is to extract the number from the image name. > > SO, starting with > > on mouseEnter > put the short name of me into NOMEN > > ................? -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution