hugo/docs/content/en/functions/hasPrefix.md
2023-07-29 11:17:28 +02:00

386 B

title description date publishdate lastmod categories menu keywords signature workson hugoversion relatedfuncs deprecated aliases
hasprefix Tests whether a string begins with prefix. 2017-02-01 2017-02-01 2017-02-01
functions
docs
parent
functions
strings
hasPrefix STRING PREFIX
hasSuffix
false
  • {{ hasPrefix "Hugo" "Hu" }} → true