|
From: thse <t.s...@fz...> - 2017-05-25 14:32:36
|
> If anybody knows a more elegant or smarter solution, please let me know. Call the function recursively: TestFile = 'C:\sub1\sub2\sub3\sub4\Data007.dat' chop(fn) = strstrt(fn,'\')?chop(fn[strstrt(fn,'\')+1:*]):fn print chop(TestFile) -- View this message in context: http://gnuplot.10905.n7.nabble.com/Extract-filename-tp20651p20657.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |