Announcement

Collapse
No announcement yet.

Ignore line that contain certain text

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ignore line that contain certain text

    Please could somebody help me. I want to ignore lines that contain specific text.

    e.g.. string Result = string.Format(GetGlobalResourceObject("Resource"," ShowingXItems").ToString()

    This line should be marked unimportant because it contains the GetGlobalResourceObject text

  • #2
    Hello,

    This handy KB article should help:
    Beyond Compare is a multi-platform utility that combines directory compare and file compare functions in one package. Use it to manage source code, keep directories in sync, compare program output, etc.


    For "contains" you could define something similar to .*GetGlobalResourceObject.*
    If the text appears anywhere in the line, then that whole line would match. This could potentially include comments, depending on how you set this up.
    Aaron P Scooter Software

    Comment


    • #3
      That did it, thank you.

      Comment

      Working...
      X