Compare numeric strings with leading zeros

Mike Bonner bonnmike at gmail.com
Wed Sep 2 22:44:39 EDT 2015


Could to a slightly more complex check..

First check if the length is the same, then do the comparison. (could even
check length, then do a char by char comparison)

On Wed, Sep 2, 2015 at 8:40 PM, Terry Judd <terry.judd at unimelb.edu.au>
wrote:

> Can you add a non-numeric character in front of each before you do the
> comparison?
>
> Terry...
>
> On 3/09/2015 12:33 pm, "use-livecode on behalf of Ralph DiMola"
> <use-livecode-bounces at lists.runrev.com on behalf of
> rdimola at evergreeninfo.net> wrote:
>
> >Feeling pretty clueless here but...
> >
> >I need ("5" = "005") to be false. This is for password validation.
> >
> >Ralph DiMola
> >IT Director
> >Evergreen Information Services
> >rdimola at evergreeninfo.net
> >
> >
> >
> >_______________________________________________
> >use-livecode mailing list
> >use-livecode at lists.runrev.com
> >Please visit this url to subscribe, unsubscribe and manage your
> >subscription preferences:
> >http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list