hugo/docs/content/en/functions/strings.HasPrefix.md
2023-05-22 16:47:07 +02:00

363 B

title description categories menu keywords signature relatedfuncs aliases
strings.HasPrefix Tests whether a string begins with prefix.
functions
docs
parent
functions
strings
hasPrefix STRING PREFIX
strings.HasPrefix STRING PREFIX
hasSuffix
/functions/hasprefix/
{{ hasPrefix "Hugo" "Hu" }} → true