Lets say that I have two strings:
-
“The System is in halt state.”
-
“The System is in [A] state.”
Is it possible to find the difference between the two strings ,I need both [A] and halt as output.
As of now i’m splitting every word and check for the match.
Is there any better way…?
string a = “The System is in halt state.”;
string b = “The System is in [A] state.”;