Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2018
    Posts
    3

    Default die ersten x Zeichen für Vergleich ignorieren

    Hallo,

    wie schaffe ich es, in BC4 die ersten Zeichen (z.b. die ersten 3) aus einem Vergleich rauszuhalten und nur den Rest dahinter zu vergleichen?

    Danke.

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,893

    Default

    Hello,

    You can define a File Format, and create a new Grammar element for the first 3, and then mark that grammar element as Unimportant.
    http://www.scootersoftware.com/suppo..._unimportantv3

    ======

    Hallo,

    Du kannst ein Dateiformat definieren und ein neues Grammatikelement für die ersten 3 Stellen erstellen, und dieses Grammatikelement dann als "Unwichtig" markieren.
    http://www.scootersoftware.com/suppo..._unimportantv3
    Last edited by Gunnar; 18-Sep-2018 at 01:30 AM. Reason: ENG->GER translation
    Aaron P Scooter Software

  3. #3
    Join Date
    Sep 2018
    Posts
    3

    Default

    Hi,

    thanks for answering.
    This works quite good for the 3-mark numbers, but wich phrase do I have to use to ignore also the numbers with 2 marks? (see the pic)
    Attached Images Attached Images

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,728

    Default

    Use the regular expression: ^\d+

    ^ - match on beginning of line
    \d - match on a decimal character
    + - match on one or more of the preceding character

    The regular expression will match on any number of decimal (0-9) characters at the beginning of a line.
    Chris K Scooter Software

  5. #5
    Join Date
    Sep 2018
    Posts
    3

    Default

    This is it, thank you sooooo much!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •