Report Part of Name

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

I have name of my sheet as below in my heirarchy

Project-xxxx-12520-pi
Project-xxxx-12521-pi
Project-xxxx-12522-pi
Project-xxxx-12526-pi
Project-xxxx-12527-pi
Project-xxxx-12528-pi
etc etc...
Now i wanted to report only part of name (xxx-12520-pi)?
It is so easy!
Why didnt U read help?
!newname = '(' + !!ce.part(2,'-') + '-' + !!ce.part(3,'-') + ')'
!newname = '(' + !!ce.name..part(2,'-') + '-' + !!ce.name.part(3,'-') + ')'

You might also like