mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-03 04:33:57 -05:00
449 B
449 B
title | description | categories | menu | keywords | signature | relatedfuncs | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
strings.ContainsAny | Reports whether a string contains any character from a given string. |
|
|
|
|
|
{{ strings.ContainsAny "Hugo" "gm" }} → true
The check is case sensitive:
{{ strings.ContainsAny "Hugo" "Gm" }} → false