You are here

public function StringWrapperInterface::strPad 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::strPad()

Pad a string to a certain length with another string

Parameters

string $input:

int $padLength:

string $padString:

int $padType:

Return value

string

1 method overrides StringWrapperInterface::strPad()
AbstractStringWrapper::strPad in vendor/zendframework/zend-stdlib/src/StringWrapper/AbstractStringWrapper.php
Pad a string to a certain length with another string

File

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

Class

StringWrapperInterface

Namespace

Zend\Stdlib\StringWrapper

Code

public function strPad($input, $padLength, $padString = ' ', $padType = STR_PAD_RIGHT);