It's all about the answers!

Ask a question

Copy the part of the content in one of the attribute into the newly created attribute in DXL scripting


Shriraam Balasubramanian (4031238) | asked May 13 '13, 10:20 a.m.
edited Jul 22 '15, 12:28 a.m.

Hello All,

Can any one please help me in copying the part of the content in one of the attribute into the newly created attribute.

For eg: The content of Object Heading an Text attribute contains "CR-444_NewCR". But only the part of "CR-444" should be copied into the newly created attribute.


One answer



permanent link
Sudarshan Rao (1963) | answered May 15 '13, 1:48 a.m.
 Its possible to achieve this using regexp. You could create a DXL attribute to display this (so no need to copy over to another attribute, but DXL attribute will dynamically display just what you require even when actual attribute value changes).
Take a look at the Regular Expressions chapter in DXL Reference Manual, which should help you.

thanks,
Sudarshan

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.