[PD] Strip file name from path (alternative to [stripfilename])?

tim vets timvets at gmail.com
Thu Oct 31 02:41:25 CET 2013


I don't have [basedir] or [strippath] here, but [list-splat] (list-abs),
[s2l] and [l2s] (zexy) do the trick.
see attached
gr,
Tim


2013/10/27 Antonio Roberts <antonio at hellocatfood.com>

> I want to be able to strip the file name from a path of a file opened via
> [openpanel]. I've looked into using [stripfilename] but that'd only work if
> the directory or file name length were the same in every situation.
>
> Can anyone help?
>
> Thanks
>
> --
> ============================
> antonio at hellocatfood.com
> http://www.hellocatfood.com
> ============================
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20131031/a11573dd/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split_path.pd
Type: text/x-puredata
Size: 795 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20131031/a11573dd/attachment-0001.bin>


More information about the Pd-list mailing list