Skip to main content

strcontains Function

strcontains function checks whether a substring is within another string.

Code Block
strcontains(string, substr)

Examples

Code Block
> strcontains("hello world", "wor")
true
Code Block
> strcontains("hello world", "wod")
false