|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:
|12 December 2011||#5|
Join Date: Sep 2003
Thread automatically closed
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|