Hey all,

Is there a simple way to get the fileName of a member without the path?
I know I can use string parsing to get the last bit of text after the
path delimiter, but that's more effort than it should be IMO.
Especially because some of my linked members were set using "/" and not
the platform-specific path delimiter, so I end up with .fileNames like
"C:\Temp\images/test.jpg".  That means just parsing pased on the
platform path delimiter isn't the only check I'll have to do.  Why in
the world the path ends up like this is beyond me.  I would expect that
setting a fileName property to a path with forward-slashes instead of
backslashes would just convert them to the platform delimiter
internally...but apparently it doesn't.

My head really is not working today, so a ray of light would be great.

Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to