3 Replies Latest reply on Jun 21, 2007 8:58 AM by Applied CD

    how to check if a list contains items from another list

    wgb14 Level 1
      Hi all,

      I am trying to check whether a text list contains items form another list and then do something. I tried:

      tlist contains text phrases (e.g., test1,test2,test3)

      phrases = ["test1","test2"]
      n = phrases.count()

      alert("should not be inluded in the list")

      But it is not working any ideas why?