added new function to create Contains() query string.