Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Contains" Function and String
21-02-2017, 08:24 AM
Post: #1
"Contains" Function and String
What am I doing wrong here:

AA:={"ABC","DEF"}
contains(AA,"DEF")
--> 0 (not found)

BUT those work:
contains(AA,AA(2))
--> 2

BB:="DEF"
contains(AA,BB)
--> 2

So it seems that the prime "sees" a string and a string in a variable different...
Am I missing something Huh
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
"Contains" Function and String - RichardZ - 21-02-2017 08:24 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)