count
count($data
, occurence
= None )
: Integer
$data.count(
occurence
= None )
: Integer
Parameters
$data
String | List
Works with String or List.
occurence
String
Only works with String. Define the occurence
to count in a String.
Examples
How to count length of a List or String
How to count occurence in a String