CountCharacters
Less than 1 minute
CountCharacters
Count the number of characters in a string.
Methods
run
public run(string $string, bool $includeWhitespace = false): int
Parameters
Parameter | Type | Description |
---|---|---|
$string | string | the input string |
$includeWhitespace | bool | whether to include whitespace in the count |
Generated by Hazaar API Doc Generator