Below is the code I used to compare string values from two Text Inputs. This will not compare the case.
That is, “Apple” will be equal to “apple”.
If(
StartsWith(TextBox1.Text, TextBox2.Text),
"values matched", "Values did not matched"
)