This should also cater for mb_substr like in https://github.com/rdohms/DMS/blob/master/src/DMS/Filter/Rules/ToUpper.php