Check string contains

Hi everyone

I have two strings like

Str1= YBMEUH
Str2= YBMUHC

I want to compare two strings and get the matched letters, like YBMUH.

Can any one help in this

Thanks
Srikanth

@Palaniyappan @aksh1yadav @lakshman

StringComapre.xaml (7.6 KB)

@Srikanth_prem

Check this xaml, it will give you matching and as well not matching strings between two strings.

CompareTwoStrings.xaml (6.5 KB)