Hey all

I am ramping up now with A4D 4 and was doing some simple regex work. What is the difference between these two statements.


Using the following method, I correct pass when $key has one of the values

if(regex match("/(required|sort|Recipient| subject|Subject|submit)/";$key))

Using this method never returns true so it never entered this section:

if ( $key = "/(required|sort|Recipient| subject|Subject|submit)/" )


Regards

Michael S. Erickson, President
Automated Solutions Group
[EMAIL PROTECTED]


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to