CountCharacters
Less than 1 minute
CountCharacters
Count the number of characters in a string.
Methods
run
public run(string $string, bool $includeWhitespace): intParameters
| Parameter | Type | Description |
|---|---|---|
$string | string | the input string |
$includeWhitespace | bool | whether to include whitespace in the count |
Generated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:26 +0000