You are here

public function StringWrapperInterface::wordWrap in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/StringWrapper/StringWrapperInterface.php \Zend\Stdlib\StringWrapper\StringWrapperInterface::wordWrap()

Wraps a string to a given number of characters

Parameters

string $str:

int $width:

string $break:

bool $cut:

Return value

string

1 method overrides StringWrapperInterface::wordWrap()
AbstractStringWrapper::wordWrap in vendor/zendframework/zend-stdlib/src/StringWrapper/AbstractStringWrapper.php
Wraps a string to a given number of characters

File

vendor/zendframework/zend-stdlib/src/StringWrapper/StringWrapperInterface.php, line 99

Class

StringWrapperInterface

Namespace

Zend\Stdlib\StringWrapper

Code

public function wordWrap($str, $width = 75, $break = "\n", $cut = false);