Files
hugo/content/en/functions/strings/HasPrefix.md
T
2025-03-05 17:03:42 -08:00

389 B

title, description, categories, keywords, params, aliases
title description categories keywords params aliases
strings.HasPrefix Reports whether the given string begins with the given prefix.
functions_and_methods
aliases returnType signatures
hasPrefix
bool
strings.HasPrefix STRING PREFIX
/functions/hasprefix
/functions/strings.hasprefix
{{ hasPrefix "Hugo" "Hu" }} → true