🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to extarct value of parameter from given string

User: "sgnarkhede2016"
New Altair Community Member
Updated by Jocelyn
Hello,

I have a string "AGGRGATION_PERIODICITY=DAILY|DIRECTION=OUTWARD|FINANCIAL_PRODUCT=REMITTANCE" want to extract "DAILY" and 
store into new attribute PARAM_PERIODICITY

How can i do this

Thanks in Advance

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "BalazsBaranyRM"
    New Altair Community Member
    Hi!

    I would use Generate Attributes with a formula like replaceAll( attribute, ".+PERIODICITY=(.+)\\|DIRECTION.+", "$1") .

    The regular expression searches for the appropriate string. If the format varies (e. g. DIRECTION is not always on the same place), you need to change the regular expression.

    Regards,
    Balázs
    User: "sgnarkhede2016"
    New Altair Community Member
    OP
    using generate extract I resolved this