For example if you specify str value "10", the position of "510" is returned if it is found first.
The FindInArray function is used to search for the phone number in
$arrTele.
If a phone number for a specific call is found in $arrTele, the charge for the call should be added to the corresponding position in
$arrAmount.
If the phone number is not found, the new phone number should be added to $arrTele and the new charge to
$arrAmount. The
ArraySize function specifies the position where to add the new number and charge at the end of the arrays.