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.
One answer
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