> Le 22 févr. 2017 à 19:27, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> a 
> écrit :
> 
> [...]
> Vincent de Lachaux posted the original code which I then stole. :-)

Being stolen is sometimes flattering  ;-)


>  : ($atFirstProperty{$x}#$atSecondProperty{$x})  //Check property name

About the comparison above, json properties are case sensitive. 
Things like:
  :(Position(atFirstProperty{$x};$atSecondProperty{$x};*)=1)
or 
  :(Find regex(atFirstProperty{$x};$atSecondProperty{$x};1))
Wouldn't it be safer?

-- 
Arnaud de Montard 


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to