2020-09-24, 17:28:33
Hi,
I found a way to remove white space left and right from => = +
Make use of str_replace
I found a way to remove white space left and right from => = +
Make use of str_replace
Code:
// Remove space around =>
$buffer = str_replace(' => ', '=>', $buffer);
// Remove space around =
$buffer = str_replace(' = ', '=', $buffer);
// Remove space around +
$buffer = str_replace(' + ', '+', $buffer);