POMO_Reader::strlen() WordPress Method

The POMO_Reader::strlen() WordPress method is used to find the length of a string. It is similar to the strlen() function in PHP.

POMO_Reader::strlen( string $string ) #


Parameters

$string

(string)(Required)


Top ↑

Return

(int)


Top ↑

Source

File: wp-includes/pomo/streams.php

		public function strlen( $string ) {
			if ( $this->is_overloaded ) {
				return mb_strlen( $string, 'ascii' );
			} else {
				return strlen( $string );
			}
		}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.