Check out the makefilename object. It's probably perfect for what you want. An alternative to the makefilename object is strcat, which is part of the Gem package.
Ben,
Sometimes you can't write a chord ugly enough to say what you want, so you have to rely on a giraffe filled with whipped cream. --Frank Zappa