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.
Edit the scraping agent by clicking on the
Go to the field Contact and click on the
Now, click on the
Add Post-Processingbutton and add the
Trim Post-processingfunction as the screenshot given
This function requires 'Chars' Input parameter
So enter the apostrophe
Savethe scraping agent configuration
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.