Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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.


0 votes



One answer

Permanent link
 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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 29

Question asked: May 13 '13, 10:20 a.m.

Question was seen: 6,048 times

Last updated: Jul 22 '15, 12:28 a.m.

Confirmation Cancel Confirm