Trying to compare 2 texts together

Hello , i am a bit of a beginner into blueprint , but i am trying to make a simple translation game , so basically i created 2 arrays ,
330902-
1st one is the sentences to translate , the other one is the answers , im trying to randomly select one sentence and the matching answer from the selected index and promoted them to variables , then in screenshot 2

, im trying to do a simple comparison between the user written answer and the selected one but it always fails , i have basically the same thing for another translation thing

(ScreenShot3) and it works no problem the only difference is that in the working one , i am not using arrays , i am kind of confused at this point.

,

Try it like this:

330914-screenshot-4.jpg

Code:

Thank you very much , its seems to work well , though the event gets called twice , i will figure it out for sure , at least it doesnt give me True AND false , i did adapted my code a little differently , but thank for the help ! :smiley:

You’re welcome.

Things will get called more than once until you implement a non-repeating random choice method.

it was the EditableBox OnCommit event , i had to do a switch on Enum so its only the “Press enter” that does it , don’t know if i explained it well but i think you understand what i mean