Merge commit 'f96384a3b596f9bc0a3a035970b09b2c601f0ccb'

This commit is contained in:
Bjørn Erik Pedersen
2023-05-22 16:47:07 +02:00
341 changed files with 3107 additions and 4238 deletions

View File

@@ -1,20 +1,13 @@
---
title: strings.Count
description: Returns the number of non-overlapping instances of a substring within a string.
date: 2020-09-07
publishdate: 2020-09-07
lastmod: 2020-09-07
categories: [functions]
menu:
docs:
parent: "functions"
parent: functions
keywords: [count, counting, character count]
signature: ["strings.Count SUBSTR STRING"]
workson: []
hugoversion:
relatedfuncs: []
deprecated: false
aliases: []
---
If `SUBSTR` is an empty string, this function returns 1 plus the number of Unicode code points in `STRING`.