DanielK4 Member since 2015 4 posts
Posted: March 18, 2020
Last activity: March 18, 2020

[Code Sample] How to compare if a String contains a keyword

Hi, I had a need to check whether a given String (Text property) contained a keyword (keywords provided as a String in CSV format) which also had to be case-insensitive, accent-insensitive, and unicode-compatible casing, so I crafted some code that could be used in a Pega function. Please find it attached to this discussion.

Hope it helps someone, and most probably myself in the future. :-)



***Edited by Moderator Marissa to update platform capability tags****

Data Integration Developer Knowledge Share
Share this page LinkedIn