Results 1 to 4 of 4

Thread: removing unnecessary lines

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Location
    Philippines
    Posts
    177

    removing unnecessary lines

    hi there i have attached my txt file and i would like to know on how to remove the unncesseary lines like the "----" headers, and some lines that i want to remove.. thanks
    Attached Files Attached Files

  2. #2
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: removing unnecessary lines

    Use the Replace function

    VB Code:
    1. MyString = Replace(MyString, "----", "")

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Location
    Philippines
    Posts
    177

    Re: removing unnecessary lines

    so what will my string be?

  4. #4
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: removing unnecessary lines

    "MyString" would contain all the text from the text file in your first post.

Posting Permissions

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



Click Here to Expand Forum to Full Width