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, We have this scraping agent "Contains Function Example(Post-Processing)" in my account and We want to know how many rows of field Keywords contain the Sony value. So, We can use the Contains Post-Processing Function to get the number of rows which contains Sony.

Before:

 

Contains before result

 

Steps:

  1. Add a new field name something like I do 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 Post-Processing function, The below dialog box will appear 

    dialog
     
  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 latest result, It returns true where the value Sony exists in the field Keyword and it returns false where the value doesn't exist in the field.

 

Contains after result