Question
Virtusa
Virtusa
IN
Virtusa
Posted: May 23, 2022
Last activity: Oct 25, 2023
Last activity: 25 Oct 2023 7:26 EDT
Closed
Solved
OOTB function to trim desired sentence from a string
Hello Guys,
I have a requirement where I need to remove a desired sentence from a string.
Eg input string: “I love your (shoes etc.). Where did you get it/them?”
Now, I want to trim (shoes etc.) from the above string.
Eg output string: “I love your. Where did you get it/them?”
So, I am expecting a function which should take 2 inputs, 1 is entire string and 1 is desired string to trim.
***Edited by Moderator Marissa to change type from Pega Academy to Product, added Product details and Capability tags***
To see attachments, please log in.