- print_r: documentation ( source)
- str_replace: documentation ( source)
<?php
$string_before = "BMM 35@biblesoft.com";
$string_after = str_replace(' ', '', $string_before);
if ($string_before == $string_after) {
print_r("Uhh...");
}
else {
print_r("As expected");
}