Page 1 of 1

find string within a string

Posted: Aug 24th, '17, 11:06
by SimpleSi
I'm having problems in consistently testing if a string exists within another string

Sometimes the contains block in the Data category is happy to play and give me a true/false output

But other times it complains that it doesn't like the data types and throws an error

for the moment - I've just written a simple shared block that returns either 0 or the position of the substring inside the main string but I feel that this should be an inbuilt function
0.png