hugo/docs/content/en/functions/hasPrefix.md

401 B

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