From feed2d1c0dd184a69920ee7414e9dafa1ef53d43 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Wed, 2 Aug 2023 07:16:48 -0700 Subject: [PATCH] Remove hasPrefix and hasSuffix in favor of namespaced versions --- content/en/functions/hasPrefix.md | 20 -------------------- content/en/functions/hasSuffix.md | 21 --------------------- 2 files changed, 41 deletions(-) delete mode 100644 content/en/functions/hasPrefix.md delete mode 100644 content/en/functions/hasSuffix.md diff --git a/content/en/functions/hasPrefix.md b/content/en/functions/hasPrefix.md deleted file mode 100644 index 264044577..000000000 --- a/content/en/functions/hasPrefix.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: hasprefix -description: Tests whether a string begins with prefix. -date: 2017-02-01 -publishdate: 2017-02-01 -lastmod: 2017-02-01 -categories: [functions] -menu: - docs: - parent: "functions" -keywords: [strings] -signature: ["hasPrefix STRING PREFIX"] -workson: [] -hugoversion: -relatedfuncs: [hasSuffix] -deprecated: false -aliases: [] ---- - -* `{{ hasPrefix "Hugo" "Hu" }}` → true diff --git a/content/en/functions/hasSuffix.md b/content/en/functions/hasSuffix.md deleted file mode 100644 index 5ab38866d..000000000 --- a/content/en/functions/hasSuffix.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -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