cancel
Showing results for 
Search instead for 
Did you mean: 

String operations for assignment

Former Member
0 Kudos

Hi All,

Need some idea with this operation in MDM Data Manager:

I have a tuple like aa-bb-cc-dd-ee

I am trying to write an assignment to delete the last entry i.e.. "-ee"

and finally the output of the assignment should be aa-bb-cc-dd

Can anyone help me in this assignment..

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Anuj,

I would suggest, if this Tuple member field is of Type Text and the value for this field is fixed say 11 (aa-bb-cc-dd). So you can set Property width for this Tuple field as 11 using MDM Console and During Import using Import Manager, automatically values for this Tuple field would be truncated after 11 that is -ee. So in this way you can achieve your result.

Otherwise, this thing can be easily taken care using PI/XI before reaching this file in MDM.

Regards,

Mandeep Saini

Former Member
0 Kudos

Hi,

You can't do assignement on tuples.So this is not possible.

Thanks,

sudhanshu