Help! two equal string variable don't equal for UiPath

Hello!!! Help me please
In my program, the value of the string variable depends on the choice of the activity IF.
PROBLEM: two string variables that are equal, are recognized by the UiPath as not equal, because of this, the wrong action is selected in the activity IF
help, the sample document from which the string values are extracted and the file itself is attached
Main.xaml (10.2 KB)
for_forum.pdf (4.4 KB)

Hi @Kirill_Kubskiy,

in text variable getting value with space so if you give in if condition going always false.

text.Trim="B" or text.Contains("B")


1 Like

thank you so much!