Compare two Strings without matching case

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"  
)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s