Grooper 2.90.0063 is available as of 3-24-2021! Check the  Downloads Discussion  for the release notes and to get the latest version.
Grooper 22.00.0011 is available as of 9-19-2022! Check the  Downloads Discussion  for information on new features, and to download the latest build!
Grooper 21.00.0055 is available as of 9-22-2022! Check the  Downloads Discussion  for the release notes and to get the latest version.

Trim the data until the first space arrives from Datafield

mounikapotlamounikapotla Posts: 31
edited July 2021 in The Astronauts (Q&A)
Hi Everyone,
How to trim the data until the first space comes using trimstart  in data field and I need to remove some static content from data field value.
Please help.

Thanks,
Mounika Potla.

Answers

  • jlunsfordjlunsford Posts: 135 mod
    it may be easier to change your regex pattern to only pull the data you want using the output format
    An example would be if you want to extract 000012345 without the leading zeros your pattern could be
    (0{4})(\d{5}) and your output format would be {2}
  • mounikapotlamounikapotla Posts: 31
    Hi @jlunsford,
    I am not using any regular expressions. I am taking the filename of scanned image and I want to remove extension of filename and I have to trim the data until the first space comes.
  • jlunsfordjlunsford Posts: 135 mod
  • mounikapotlamounikapotla Posts: 31
    Hi @jlunsford,
    I have seen the given link and I checked all options what they mentioned but still I didn't get the solution.
    Example: 34_n4 test 1
    Result: test 1
    Is there any other options to try. Please help
Sign In or Register to comment.