[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: filename
- Subject: Re: filename
- From: Martin Schultz <martin.schultz(at)dkrz.de>
- Date: Wed, 07 Feb 2001 14:21:31 +0100
- Newsgroups: comp.lang.idl-pvwave
- Organization: Max-Planck-Institut fuer Meteorologie, Hamburg
- References: <95rfkm$i1s$1@jerry.kfunigraz.ac.at>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23418
Gernot Reishofer wrote:
>
> hi,
>
> I have to save two files with the same filename but different
> extensions. Using DIALOG_PICKFILE creates path+filename+extention.
> Can you experts tell me the shortest way to get the filename avoiding
> too many string operations?
>
> thanks for help
>
> Gernot
I'm not sure it is the shortest, but it is sure convenient to use a
utility routine from one of several public domain librariers for this.
In my own library this is extract_filename.pro. You can browse through
this and other libraries at
http://www.mpimet.mpg.de/~schultz.martin/idl/
CHeers,
Martin
--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[