Hi leo believe me, I am trying to Understand how It's work. Not just copy from some where.
and here is I found my solve
var test = clickData.func.sourcetab.path.filepart
var splitStr = test.substring(test.lastIndexOf(".")+2);
DOpus.output(splitStr);