splitting [value root.name]

hi guys,
another tcl question.

i use [lrange [split [value root.name] / ] 6 6 ] to split of to ‘show_shotname’

filepath looks like this:
/Volumes/xxx/xxx/xxx/xxx/show_shotname/show_shotname.nk

is it possible to split of ‘show_shotname’ in a way to get the text before and after the underscore separately?

thanks in advance

No Responses to “splitting [value root.name]”

Post a Comment