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

Antonio Roberts antonio at hellocatfood.com
Sun Oct 27 21:50:33 CET 2013


Thanks, that worked perfectly! Much better than my solution of counting the
characters in the filename and subtracting it from the path with
stripfilename!


On 27 October 2013 20:21, peiman khosravi <peimankhosravi at gmail.com> wrote:

> Hello,
>
> Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy).
>
> Best,
> P
>
>
>
>
> *www.peimankhosravi.co.uk || RSS Feed<http://peimankhosravi.co.uk/miscposts.rss> ||
> Concert News <http://spectralkimia.wordpress.com/>*
>
>
> On 27 October 2013 19:56, Antonio Roberts <antonio at hellocatfood.com>wrote:
>
>> 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
>>
>>
>


-- 
============================
antonio at hellocatfood.com
http://www.hellocatfood.com
============================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20131027/421cfd8f/attachment.htm>


More information about the Pd-list mailing list