Sample code of how to turn a user-entered search phrase with "AND" and commas into a WHERE clause for use in an Advanced Query.
Updated to P11.