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, We have this scraping agent "TrimStart Function Example(Post-Processing)" in our account and we want to trim the starting value from Phone field. So, We can use the TrimStart post-processing function to remove the starting unwanted characters in the particular field.

Before:

 

TrimStart-before-result

Steps:

  1. Edit the scraping agent by clicking on the "Edit" tab,
  2. Go to the field Phone and click on the "Edit field" button,
  3. Now, Click on the "Add Post-Processing" button to add the TrimStart function, the below dialog box will appear

    dialog box
     
  4. Now, enter the input which you want to trim as 0 in Chars parameter
  5. Then "Save" the function and the scraping agent configuration
  6. And finally re-run your agent to apply the changes.

After TrimStart Function:

Now, If we look the latest result that the starting value 0 has been trimmed in Phone Field.

 

TrimStart-after-result