Jean-Luc Arnaud
2016-08-23 08:09:17 UTC
Hi all,
What's the simplest way to compare a string to a password (another
string, of course), respecting Upper- and Lowercases?
So TOTO is not equal to TOTo.
My first idea is to simply compare strings (If "TOTO"="TOTo") and then,
if true, to compare each character using Asc function.
As soon as a difference appears, the test returns false.
Another idea(s)?
TIA
What's the simplest way to compare a string to a password (another
string, of course), respecting Upper- and Lowercases?
So TOTO is not equal to TOTo.
My first idea is to simply compare strings (If "TOTO"="TOTo") and then,
if true, to compare each character using Asc function.
As soon as a difference appears, the test returns false.
Another idea(s)?
TIA
--
Jean-Luc Arnaud
_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>
List Help: <***@xojo.com>
Jean-Luc Arnaud
_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>
List Help: <***@xojo.com>