SolaGratia77
07-13-2008, 01:45 AM
c:\users\haggai\Softimage\XSI_6.5
I am trying to turn this path into
c:\users\haggai\Softimage
Basically I want to chop off anything after the last \
What would be the best way ?
I have tried to use Jscript replace() method with regular expression
but it's too confusing for me and no success so far....
Any help would be very much appreciated
Thank you
-J
I am trying to turn this path into
c:\users\haggai\Softimage
Basically I want to chop off anything after the last \
What would be the best way ?
I have tried to use Jscript replace() method with regular expression
but it's too confusing for me and no success so far....
Any help would be very much appreciated
Thank you
-J