POMO_StringReader::seekto( int $pos )
Description Description
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;
}
Expand full source code Collapse full source code View on Trac