Equivalent of Mask function to be used in Custom Action
Hi there,
Can you let me know what expression I can use to show only the last 4 digits of accountnumber in one of the fields in Custom Action (under Actions in Journey Builder)?
I tried this but throwing me errors saying i cannot use the character '-' like this because it is a keyword of the language. I tried adding double and single quotes to wrap -4 but no luck either.
substr(toString(#{headfield.at(0).accountNumber}), (length(toString(#{headfieldat(0).accountNumber})) - 4), 4)
Thanks!