diff options
Diffstat (limited to 'docs/content/en')
-rw-r--r-- | docs/content/en/functions/hasPrefix.md | 4 | ||||
-rw-r--r-- | docs/content/en/functions/hasSuffix.md | 21 |
2 files changed, 23 insertions, 2 deletions
diff --git a/docs/content/en/functions/hasPrefix.md b/docs/content/en/functions/hasPrefix.md index 99d5ba819..cf29315e2 100644 --- a/docs/content/en/functions/hasPrefix.md +++ b/docs/content/en/functions/hasPrefix.md @@ -9,11 +9,11 @@ categories: [functions] menu: docs: parent: "functions" -keywords: [] +keywords: [strings] signature: ["hasPrefix STRING PREFIX"] workson: [] hugoversion: -relatedfuncs: [] +relatedfuncs: [hasSuffix] deprecated: false aliases: [] --- diff --git a/docs/content/en/functions/hasSuffix.md b/docs/content/en/functions/hasSuffix.md new file mode 100644 index 000000000..9906cc2c3 --- /dev/null +++ b/docs/content/en/functions/hasSuffix.md @@ -0,0 +1,21 @@ +--- +title: hassuffix +linktitle: hasSuffix +description: Tests whether a string ends with suffix. +date: 2023-03-01 +publishdate: 2023-03-01 +lastmod: 2023-03-01 +categories: [functions] +menu: +docs: +parent: "functions" +keywords: [strings] +signature: ["hasSuffix STRING SUFFIX"] +workson: [] +hugoversion: +relatedfuncs: [hasPrefix] +deprecated: false +aliases: [] +--- + +* `{{ hasSuffix "Hugo" "go" }}` → true
\ No newline at end of file |