TrimStart Post-processing Function

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.

Before

TrimStart-before-result

Steps

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

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

  3. Click on the Add Post-Processing button to add the TrimStart function, the below dialog box will appear

  4. Now, enter the input which you want to trim as 0 in 'Chars' parameter and close it

    trimstart

  5. Save the scraping agent configuration

  6. 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.

TrimStart-after-result