hasPrefix.md (391B)
1 --- 2 title: hasprefix 3 linktitle: hasPrefix 4 description: Tests whether a string begins with prefix. 5 date: 2017-02-01 6 publishdate: 2017-02-01 7 lastmod: 2017-02-01 8 categories: [functions] 9 menu: 10 docs: 11 parent: "functions" 12 keywords: [] 13 signature: ["hasPrefix STRING PREFIX"] 14 workson: [] 15 hugoversion: 16 relatedfuncs: [] 17 deprecated: false 18 aliases: [] 19 --- 20 21 * `{{ hasPrefix "Hugo" "Hu" }}` → true