mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/module-memory
@mlx-bun/module-memory/vault
countSubstringOccurrences
Function countSubstringOccurrences
countSubstringOccurrences
(
text
:
string
,
needle
:
string
,
caseSensitive
:
boolean
,
)
:
number
Non-overlapping substring matches (whole file).
Parameters
text
:
string
needle
:
string
caseSensitive
:
boolean
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
mlx-bun library API
Loading...
Non-overlapping substring matches (whole file).