
Include?() expression for a string?
Hi,
I want to check if a string contains another string with the include?() expression in an condition action event, but this only seems to work for arrays, not for strings. Is there a expression to do this for a string?
I'd like to do something like:
var:a = "The Betty Blocks Platform"
include?(var:a, "Betty") #=> true
Hi,
I want to check if a string contains another string with the include?() expression in an condition action event, but this only seems to work for arrays, not for strings. Is there a expression to do this for a string?
I'd like to do something like:
var:a = "The Betty Blocks Platform"
include?(var:a, "Betty") #=> true
Login to reply