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@googlemail.com wrote:
[splitfilename]
Did you or me miss the obvious?
Best,
Jonas Am 31.10.2013 02:43 schrieb "tim vets" timvets@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@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@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list