Contains Post-processing Function

Contains Post-processing function can be used to know how many rows contains a particular value. If the given particular value exists in a row than it returns true otherwise returns false. For example, I have this scraping agent "Contains Function Example(Post-Processing)" in my account and I want to know how many rows of field Keywords contain the Sony value. Here, I can use the Contains Post-processing Function to get the number of rows which contains Sony.


Contains before result


  1. Add a new field name something like I did field IsKeyword Sony and selector will be same as for Keyword field

  2. Now, click on the Add Post-Processing button to add the Contains function, the below dialog box will appear


  3. Now enter the text in Input parameter you want to find from the field, as I did in screenshot above to insert the Sony

  4. Then Save the function and the scraping agent configuration

  5. And finally, re-run you agent to apply the changes.

After Append Function

If you notice the updated result, It returns true where the value Sony exists in the field Keyword and it turns false where the value doesn't exist in the field.

Contains after result