Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Location
    Sydney
    Posts
    51

    Default Help needed with text compare

    Assume the following:

    Left = Prefix {some text} Suffix
    Right = Prefix {some other text} Suffix

    Any difference between {some text} and {some other text} is unimportant. Both "some text" and "some other text" can be any string of any length.

    How would I code a replacement rule to achieve this?

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

    Default

    Hello,

    The {some other text} would have to be explicitly defined in order to define a Replacement.

    Alternatively, you could define a general Grammar or Unimportance, using a Delimited type or Regular Expression to match on Prefix to Suffix. This would mark each of the elements as Unimportant.
    Aaron P Scooter Software

Posting Permissions

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