Using Reactive Web to compare 2 text strings

Hello,

I am creating a Login page and I want to compare 2 separate text strings to see if they are the same before I save it to the database as the password i.e. password, confirm password.

 I would want it case sensitive to ensure that I am also comparing upper and lower case. I read somewhere that it would be best to user the Index and length function together for this type of use case, would this be the best route or is there a better method.

Thanks,

Otis

Hi,

I don't understand why will be better!?

Why you don't use something like this:
Password1 like Password2

Please, check this document information:

Cheers

Solution

Hi,

To compare to strings on the client case sensitive use Index indeed.

Regards,

Daniel

Solution