TrimStart Post-processing function can be used to trim the unwanted characters from starting value in our extracted field result. For example, I have this scraping agent "TrimStart Function Example(Post-Processing)" in my account and I want to trim the starting value
0 from Phone field. Here, I can use the TrimStart Post-processing function to remove the starting unwanted characters from the particular field.
Edit the scraping agent by clicking on the Edit tab.
Go to the Phone field and click on the Edit field button
Click on the Add Post-Processing button to add the
TrimStartfunction, the below dialog box will appear
Now, enter the input which you want to trim as
0in 'Chars' parameter and close it
Save the scraping agent configuration
And finally, re-run your agent to apply the changes.
After TrimStart Function
Now, If we look the updated result, the starting value
0 is trimmed from Phone Field by using
Trimstart Post-processing function.