You are viewing documentation for version v1.7.x. View latest version.
strcontains
function checks whether a substring is within another string.
strcontains(string, substr)
strcontains(string, substr)
> strcontains("hello world", "wor") true > strcontains("hello world", "wod") false
> strcontains("hello world", "wor")
true
> strcontains("hello world", "wod")
false