How to compare two strings letter by letter in Blueprint?

Hi there,
I’m working on a project in which I’d like to implement a mini-game, similar to the Terminal Hacking in the Fallout-series.

I think I can get it done most of it, but I’m unsure about comparing two strings (two words) letter by letter then showing how many letters are matching.

Could anyone please help me out?

Cheers,

you have word A and word B. you need witch letters from A are matching in B? you must be more specific about what you expect because there are different kinds of info:

how many letters in any location of the word( 1…2…3)
how many letters in the exact position where should be (the 2nd, the 5fth)…
WICH letters (the first, the last, the 3rd)…etc

Parse both strings into an array then loop over and compare each index.