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

Antonio Roberts antonio at hellocatfood.com
Thu Oct 31 19:31:52 CET 2013


Aha, that seems exactly what I was after all along! Do you know if it
works on Windows as well?

Antonio

On 31 October 2013 08:17, Johnny Mauser <joson.android at googlemail.com> wrote:
> [splitfilename]
>
> Did you or me miss the obvious?
>
> Best,
>
> Jonas
> Am 31.10.2013 02:43 schrieb "tim vets" <timvets at gmail.com>:
>
>
>>
>> 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
>>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>
>
> _______________________________________________
> 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
============================



More information about the Pd-list mailing list