Jump to content

Search the Community

Showing results for tags 'string occurence'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi! I just want to ask what functions should I be using to do this? I want to detect the 2nd occurrence of a string in a .txt/.eml file then remove it and every line that follows. I am doing this so that I can remove all attachments from .eml files. So far, I've tried using StringRegExp to know how many occurrences of a specific string are present. I've attached a sample.eml file and the results I want to have. I just can't manually do it for I have millions of emails. The specific string is "------=_". Any suggestions will be much appreciated. *Update - Used _FileWriteToLine, _FileCountLines and StringRegExpReplace to achieve goal result.eml sample.eml
×
×
  • Create New...