Question

6
Replies
653
Views
Close popover
Ponnusamy Sowmya (Sowmya07)
Cts

Cts
US
Sowmya07 Member since 2010 21 posts
Cts
Posted: March 17, 2020
Last activity: March 17, 2020
Closed

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 Enterprise Application Development Dev/Designer Studio Financial Services Front-End Developer
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.