Question1Replies36Views×Close popoverSaurabh Satyarthi (SaurabhS511) Incessant Incessant IN View ProfileSend Message SaurabhS511 Member since 2015 1 post Incessant Posted: September 1, 2020Last activity: September 1, 2020Posted: 1 Sep 2020 2:18 EDTLast activity: 1 Sep 2020 5:46 EDT Compare two strings and give percentage to itHI All, I have a two string stored in 2 Parameter. Param 1 , Param 2. I have to compare them and match the string and give the percentage of match.Scenarios1 of Req. Param 1:- Saurabh Satyarthi Param 2:-Saurabh Satyarthi...All string match hence 100% matchScenarios 2 of Req. Param 1:- Saurabh Satyarthi Param 2:-Saurabh ...half string match hence 50% match.Scenarios 3 of Req. Param 1:- Saurabh Satyarthi Param 2:-Saurabh Saty...more than half match hence 75% matchScenarios 4 of Req. Param 1:- Saurabh Satyarthi Param 2:-Saur Less than half match, hence 25% matchNote***Params would be dynamic, above scenario is for illustration purpose.Please suggest how could above scenario's be achieved. Regards, Saurabh Satyarthi. Pega Platform 7.4 Project Delivery Insurance Senior System Architect ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 5 months agoPosted: 1 Sep 2020 5:46 EDT×Close popoverAshok Kumaresan (ashokk09) Areteans Tech Areteans Tech IN View ProfileSend Messageashokk09 Areteans Tech replied to SaurabhS511You can find the difference in two strings in terms of no of mismatch characters using the function : @stringDistance(Param.S1,Param.S2). Then try calculating percentage with this !!