1
0
Fork 0
hugo/docs/content/en/functions/strings/HasPrefix.md

544 B

title description categories keywords action aliases
strings.HasPrefix Reports whether the given string begins with the given prefix.
aliases related returnType signatures
hasPrefix
functions/strings/Contains
functions/strings/ContainsAny
functions/strings/ContainsNonSpace
functions/strings/HasSuffix
functions/collections/In
bool
strings.HasPrefix STRING PREFIX
/functions/hasprefix
/functions/strings.hasprefix
{{ hasPrefix "Hugo" "Hu" }} → true