I have code like:
$databasedata = '/*space*/text/*space*/|';
$mydata = explode("|", $databasedata);
When I explode it will be one space after word like
blabla /*space*/
Notice: data from which are exloded have also space.
How to delete this space with one line?