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

studio
uipath
string

#1

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)


#2

Hi @Kirill_Kubskiy,

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

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

Regards,
Arivu


#3

thank you so much!