Files
hugo/docs/content/en/functions/hasPrefix.md
2021-10-31 13:53:55 +01:00

391 B

title, linktitle, description, date, publishdate, lastmod, categories, menu, keywords, signature, workson, hugoversion, relatedfuncs, deprecated, aliases
title linktitle description 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