getid3_asf::TrimTerm

Advertisement

Summery Summery

Remove terminator 00 00.

Syntax Syntax

getid3_asf::TrimTerm( string $string )

Parameters Parameters

$string

(Required)

Return Return

(string)

Source Source

File: wp-includes/ID3/module.audio-video.asf.php

	 *
	 * @return string
	 */
	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);

Advertisement

Advertisement

Leave a Reply