Trim Post-processing Function

The Trim Post-processing function can be used in agents, to remove comma separated characters from both side of the string. For example, I have this scraping agent "TrimStart Function Example(Post-processing)" in my account and I want to remove (') character from both side of the string in each row of the Contact field. Here, I can use Trim Post-processing function to remove this character.

Before

trim before result

Steps

  1. Edit the scraping agent by clicking on the Edit tab

  2. Go to the field Contact and click on the Edit field button

  3. Now, click on the Add Post-Processing button and add the Trim Post-processing function as the screenshot given

  4. This function requires 'Chars' Input parameter

  5. So enter the apostrophe ' as parameter

    trim

  6. And Save the scraping agent configuration

  7. Now, re-run the agent to apply the changes.

After Trim Function

If you notice the Contact field in the screenshot here, the ' character is removed by using Trim Post-processing function.

trim after result