Im trying to do an if statement with an condition that if the string contains a certain word like bellow
if(phrase) = "word")
Any ideas?
NetLogo's member?
primitive will do exactly that:
if member? "word" phrase [ do-something ]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With