function disable_messages_remove_white_space in Disable Messages 2.x
Same name and namespace in other branches
- 8 disable_messages.module \disable_messages_remove_white_space()
Remove white space from the path.
Parameters
string $string: String to remove white space.
Return value
string Return clean string
1 call to disable_messages_remove_white_space()
- disable_messages_apply_filters in ./
disable_messages.module - Apply the filters to the messages.
File
- ./
disable_messages.module, line 278 - The disable_messages module file.
Code
function disable_messages_remove_white_space($string) {
return preg_replace('/\\s+/', '', $string);
}