Thread
:
Unexpected Results
View Single Post
#
3
10-19-2006, 09:35 AM
Skyld
Script-fu
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Yes contains() is for arrays I believe.
I think you can use haystack.pos(needle) >= -1 to check for an occurence in a string.
Skyld
View Public Profile
View GraalOnline Profile
Find all posts by Skyld