getid3_asf::TrimTerm

Advertisement

Summery Summery

Remove terminator 00 00.

Syntax Syntax

getid3_asf::TrimTerm( string $string )

Parameters Parameters

$string

(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

This site uses Akismet to reduce spam. Learn how your comment data is processed.