Compare numeric strings with leading zeros

Thierry Douez th.douez at gmail.com
Fri Sep 4 02:12:52 EDT 2015


> What’s wrong with simply:
>
> function stringsAreEqual p1, p2
>    return (p1 & "z") = (p2 & "z")
> end stringsAreEqual
>
> As Terry Judd and Mark Wieder suggested yesterday?

Mmm, nothing.

Different ways, different experiences ... :)

Regards,

Thierry




More information about the Use-livecode mailing list