Question

6
Replies
96
Views
Sowmya07 Member since 2010 18 posts
Cts
Posted: 6 months ago
Last activity: 6 months 1 week ago

Replace All function

We are using Replace All function for a string specified like below which varies dynamically based on cases.

BWN.Assignments@bnymellon.com,TSIntonboarding@bnymellon.com,,Juan-Manuel.Martinez@bnymellon.com,,,JuanManuel.Fernandez@bnymellon.com,Minh-Hung.Huynh@bnymellon.com

 

Currently we are using function like below but its getting failed if pyToString has commas more than 2.

@replaceAll(.pyToString,",,",",")

Is there any function to check pyToString value greater than a single comma by using replace all function.

 Any suggestions on this issue pls. 

Pega Platform 7.4 Low-Code App Development Dev/Designer Studio Financial Services Front-End Developer
Share this page LinkedIn