the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Count how often a character (or substring) is used in a string.
|
||||
*
|
||||
* @param {string} value
|
||||
* Value to search in.
|
||||
* @param {string} character
|
||||
* Character (or substring) to look for.
|
||||
* @return {number}
|
||||
* Number of times `character` occurred in `value`.
|
||||
*/
|
||||
export function ccount(value: string, character: string): number
|
||||
Reference in new issue
Block a user