is there a function to see if a string exists withing another string?
If not - whats the shortest way of doing it?
Simon
find a string within another string
Moderator: MSandro
Re: find a string within another string
Hey,
While I couldn't find a way to get this to work with Strings directly, I found a way to make this work by using the following blocks:
The "contains"-Block can check if an item exists in an array (NOT a list!). Using it the way I did in the attached image returns "true".
While I couldn't find a way to get this to work with Strings directly, I found a way to make this work by using the following blocks:
The "contains"-Block can check if an item exists in an array (NOT a list!). Using it the way I did in the attached image returns "true".
- Attachments
-
- scriptImage.png (2.78 KiB) Viewed 11154 times
-
- Screenshot from 2017-08-07 10-45-06.png (4.41 KiB) Viewed 11154 times