Compare one string on 2 lines in the text files

Author Message
heliomarcilio

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 10/28/2009
  • Status: offline
Compare one string on 2 lines in the text files Wednesday, October 28, 2009 7:40 AM (permalink)
0
Hello Everyone !
I need help !! I ill try to explain my problem
I need to compare one string on a text file in 2 diferent lines.
Hmm, today the process read the line, get the values which i need (with substr) and save in 1 variable, after this write the text file inside of the Do While
I need which read the line, get the variable "X" and before write the line, to search in the next line if have the same value of this string "X", if find the "X" write "ZZZZ"  else write "CCCC"
 
Thx for help.
 
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9