Length Post-processing Function

Length Post-processing Function can be used to get the length of the value in our extracted field result. For example, I have this scraping agent "Length Function Example(Post-Processing)" in my account and I want to get the length of product field Name for some internal use. So, We can use the Length Post-Processing Function to get the characters length in particular field.


Length before result


  1. Add a new field name something like I did, field Name Length and selector will be same as for product field Name

  2. Now, Click on the Add Post-Processing button to add the Length Post-Processing function, The below dialog box will appear


  3. There is no parameter requires in this function, so just adding this is enough

  4. Then Save the function and the scraping agent configuration

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

After Length Function

Now,if we look the updated result, we have a length of product Name in a new field called Name Length where we can see the actual number of characters in this field.

Length after result