|12 December 2011||#1|
Cloth Sim Queen! Kinda...
Starving Artist ><
Query file short name
Another week another question.
I was wondering how to get the short name of a file.
When I do:
string $fn = `file -q -sn`;
I really just want Bob.mb (I want Bob, I need Bob )
If I have to tokenize, I will, but I thought there was an easier way to do this. Is there?
My Updated Demo Reel - June 2013
Last edited by PozestStar : 12 December 2011 at 05:54 PM.
|12 December 2011||#2|
Sony SCEE Liverpool
Manchester, United Kingdom
Join Date: May 2008
you can do it with a `match` command, but Alias already packaged it up for you with the basename and basenameEx commands:
|Thread Closed share thread|