Hello
StrVar1=
“Apple
Orange
Mango”
StrVar2=
“AppleOrangeMango”
Is there any way to recognize they are not same?
Hello
StrVar1=
“Apple
Orange
Mango”
StrVar2=
“AppleOrangeMango”
Is there any way to recognize they are not same?
I believe if you do strVar1=strVar2
you will get false.please try the same in if condition …it would go to else side
Cheers
Hi @Golf_Aquascape,
System.Text.RegularExpressions.Regex.IsMatch(yourString,“(?=\w+).*(?=\n)”)
above code will return false for “AppleOrangeMango” and true for "Apple\nOrange\nMango.
Hope it helps!
Thanks!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.