>- see footer for list info -<
Gary,

That's great! Thanks... I went with option 2...

Lists are great aren't they! :-)


Cheers,
Nick

2008/6/4 Gary <[EMAIL PROTECTED]>:

> >- see footer for list info -<
> There are two methods
>
> 1) Reverse the string first, then remove everything before the first ".".
> my.filename.ext --> txe.emanelif.ym
> Therefore the first "." is always the extension.
>
> 2) Or, without reversing the string, you can use:
> ListDeleteAt(myfile,ListLen(myfile,"."),".") which removes the very last
> item in the list.
>
> Gary.
>
>
> On Wed, Jun 4, 2008 at 6:41 PM, Nick Middleweek <
> [EMAIL PROTECTED]> wrote:
>
> > >- see footer for list info -<
>  > Hello,
> >
> > I've tried using ListGetAt(GetFilefromPath(strPdfFullPath), 1, ".") to
> > extract the filename part from filename.ext but if the filename itself
> has
> > a
> > dot in it, it fails :(
> >
> > I've looked at the System Commands but noy joy.
> >
> > Is there a built in command for this or another trick perhaps using
> Lists?
> >
> >
> > Thanks,
> > Nick
> > _______________________________________________
> >
> > For details on ALL mailing lists and for joining or leaving lists, go to
> > http://list.cfdeveloper.co.uk/mailman/listinfo
> >
> > --
> > CFDeveloper Sponsors:-
> > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
> > >- Lists hosted by www.Gradwell.com <http://www.gradwell.com/> <
> http://www.gradwell.com/> -<
> > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
> -<
> >
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
> >- Lists hosted by www.Gradwell.com <http://www.gradwell.com/> -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
>
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to