Truncating Strings?

I am writing a script that moves data from one database to another, keying on file names. I want to assign the same data to all the files with the same name, regardless of file type

Can someone give me a clue as to how to lose the file extension of a filename so that I can work with all files that otherwise have the same name?

Thanks so much, I haven’t written code since I last used my TI-994A. I really appreciate your help.

If you want to take a substring, you can use the following:

…where start and end are the starting and ending portions of your substring of the string fullstring. In your case, you would use 1 for the start and the position before the last period for the end.

Thanks Cody, you rule. 2 for 2 in good help on MacScripter. This BBS Rocks!