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 Wed, 07 Jan 2026 11:29:59 +0000