跳到正文
本页尚未翻译成中文,以下为英文原文。 查看英文版

strcontains Function ​

The strcontains function searches for a substring within a string.

hcl
strcontains(string, substr)

Examples ​

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

基于 MPL-2.0 许可证发布。