PHPMailer\PHPMailer

POP3::stripControlsprotected staticWP 1.0

Strip all control chars from a string.

Method of the class: POP3{}

No Hooks.

Returns

string.

Usage

$result = POP3::stripControls( $string );
$string(required)
.

POP3::stripControls() code WP 7.1.2

protected static function stripControls($string)
{
    return preg_replace('/[\x00-\x1F\x7F]/u', '', $string);
}