POMO_StringReader::seekto

Advertisement

Syntax Syntax

POMO_StringReader::seekto( int $pos )

Parameters Parameters

$pos

(Required)

Return Return

(int)

Source Source

File: wp-includes/pomo/streams.php

		function seekto( $pos ) {
			$this->_pos = $pos;
			if ( $this->strlen( $this->_str ) < $this->_pos ) {
				$this->_pos = $this->strlen( $this->_str );
			}
			return $this->_pos;
		}

Advertisement

Advertisement

Leave a Reply