I\'m working with a CSV file which is exported from Excel.
I have a column that contains a value of 1 234,00. I need to get all whitespaces away from these kinds of colu
$column = str_replace("\xc2\xa0", '', $column);
You may use trim
trim
trim($data['value'], " \t\n\r\0\x0B\xc2\xa0")
Where \t\n\r\0\x0B is defualt mask, \xc2\xa0 need add
\t\n\r\0\x0B
\xc2\xa0