Is it possible to check whether a string contains another string?
Formula " haystack.Contains ("s%", needle) " failed so I guess it is not possible to use reference to a string in another string. Is there any other way?
Just so you have clear idea what I am talking about. On one place in the game I decide that: String needle = "one"; and on another place I decide that: String haystack = "one two three five". Now I need to check whether there is a needle in a haystack. Can you help me please?
Thanks.
PS: Did search the forum.
Formula " haystack.Contains ("s%", needle) " failed so I guess it is not possible to use reference to a string in another string. Is there any other way?
Just so you have clear idea what I am talking about. On one place in the game I decide that: String needle = "one"; and on another place I decide that: String haystack = "one two three five". Now I need to check whether there is a needle in a haystack. Can you help me please?
Thanks.
PS: Did search the forum.