getid3_asf::TrimTerm()public staticWP 1.0

Remove terminator 00 00.

{} It's a method of the class: getid3_asf{}

No Hooks.

Return

String.

Usage

$result = getid3_asf::TrimTerm( $string );
$string(string) (required)
-

Code of getid3_asf::TrimTerm() WP 6.0

public static function TrimTerm($string) {
	// remove terminator, only if present (it should be, but...)
	if (substr($string, -2) === "\x00\x00") {
		$string = substr($string, 0, -2);
	}
	return $string;
}