hugo/docs/content/en/functions/strings/HasPrefix.md
2023-10-20 09:43:56 +02:00

523 B

title description categories keywords menu function relatedFunctions aliases
strings.HasPrefix Reports whether a string begins with prefix.
functions
docs
parent
functions
aliases returnType signatures
hasPrefix
bool
strings.HasPrefix STRING PREFIX
strings.Contains
strings.ContainsAny
strings.ContainsNonSpace
strings.HasPrefix
strings.HasSuffix
/functions/hasprefix
/functions/strings.hasprefix
{{ hasPrefix "Hugo" "Hu" }} → true