hugo/docs/content/functions/hasPrefix.md

398 B

title linktitle description godocref date publishdate lastmod categories menu 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