FUNC :: string str_clear ( string value [, array additional ] ) By default replace wite spaces \r, \n and tab \t with an empty string. Example:
$test = "XP\nert.\tMailer\r 2."; echo FUNC::str_clear($test, array(' ', '.'));