On Sat, 8 Jan 2005 14:51:24 +1300, Adam Cameron <[EMAIL PROTECTED]> wrote: > > I have a variable containing a filename and I need to find out what > > "dot-plus-three-letter" extension it has? (use right()) > Three? You've been using DOS for too long ;-)
Bear in mind the original question was about .txt and .doc - I'm used to file systems where file extensions are completely irrelevant (Unix) so this whole discussion is somewhat pointless. > It's foolhardly to ass-u-me that a file extension > has three and only three letters. Even on Windows. It's whatever's after > the last dot. If anything. No, it's actually foolhardy to ass-u-me that there even is a file extension. All of this talk of file extensions is so Windows-centric (where file extensions still usually have 3 letters - .htm? What's with that?). > (If you worked for me the issue of being shot would be the least of your > worries, though, I guess ;-) LOL! I'll bet that cuts both ways dude :) > And that's all my responses to you are, right? I'm not having a go @ you. *grin* I'm English, I have thick skin (and a lack of tact to match). -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 5 invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
