POMO_StringReader::seekto

Advertisement

Syntax Syntax

POMO_StringReader::seekto( int $pos )

Parameters Parameters

$pos

(int) (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

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