public function StringWrapperInterface::substr in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-stdlib/src/StringWrapper/StringWrapperInterface.php \Zend\Stdlib\StringWrapper\StringWrapperInterface::substr()
Returns the portion of string specified by the start and length parameters
Parameters
string $str:
int $offset:
int|null $length:
Return value
string|false
2 calls to StringWrapperInterface::substr()
- AbstractStringWrapper::strPad in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ AbstractStringWrapper.php - Pad a string to a certain length with another string
- AbstractStringWrapper::wordWrap in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ AbstractStringWrapper.php - Wraps a string to a given number of characters
4 methods override StringWrapperInterface::substr()
- Iconv::substr in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ Iconv.php - Returns the portion of string specified by the start and length parameters
- Intl::substr in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ Intl.php - Returns the portion of string specified by the start and length parameters
- MbString::substr in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ MbString.php - Returns the portion of string specified by the start and length parameters
- Native::substr in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ Native.php - Returns the portion of string specified by the start and length parameters
File
- vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ StringWrapperInterface.php, line 69
Class
Namespace
Zend\Stdlib\StringWrapperCode
public function substr($str, $offset = 0, $length = null);