CountCharacters
Less than 1 minute
CountCharacters
Count the number of characters in a string.
class CountCharactersMethods
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 Fri, 05 Jun 2026 06:08:14 +0000