Improved tr() parameter detection, str_trim_array() can now optionally not recurse