src/ADT/String.php
public function wrap( $left = NULL, $right = NULL )
	{
		$length			= $this->getLength();
		$this->string	= (string) $left . $this->string . (string) $right;
		return $this->getLength() - $length;
	}
public function wrap( $left = NULL, $right = NULL )
	{
		$length			= $this->getLength();
		$this->string	= (string) $left . $this->string . (string) $right;
		return $this->getLength() - $length;
	}
public function wrap ( $ left = NULL , $ right = NULL ) { $ length = $ this -> getLength ( ) ; $ this -> string = ( string ) $ left . $ this -> string . ( string ) $ right ; return $ this -> getLength ( ) - $ length ; }
Wraps this string into a left and a right string and returns number of added characters.
@access		public
@param		string		$left			String to add left
@param		string		$right			String to add right
@return		int			Number of added characters
Wraps this string into a left and a right string and returns number of added characters .