• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
two files...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

two files...


  • Subject: two files...
  • From: Martha Espinosa <email@hidden>
  • Date: Wed, 30 Jun 2004 15:57:25 -0600

Hi All,

I have two .txt files. One containing items separated by commas
(comma.txt) and the other with several lines of information
other.txt).

example:

comma.txt file
item 1, item 2, mac/item3, item 4
item 1, item 2, hello, item 4
item 1, item 2, world, item 4
item 1, item 2, mac/mail,,

other.txt
mac/help
mac/mail
mac/item 3
mac/item 0

What I want to do is check the comma.txt file, specifically item 3
and verify it (item 3) exists in the comma.txt file. If it exists I
want to add a "YES" to the front or back of that line... Any help
would be appreciated...
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: two files...
      • From: Walter Ian Kaye <email@hidden>
  • Prev by Date: Re: How to Test for a file ...
  • Next by Date: Read / Write with Files
  • Previous by thread: Re: How to Test for a file ...
  • Next by thread: Re: two files...
  • Index(es):
    • Date
    • Thread