Skip to main content

strings.HasPrefix

Tests whether a string begins with prefix.

{{ hasPrefix "Hugo" "Hu" }} → true