PHP » GoLang |
login |
register |
about
|
str_pad(PHP 4 >= 4.0.1, PHP 5, PHP 7) str_pad — Pad a string to a certain length with another string Description
string str_pad
( string
$input
, int $pad_length
[, string $pad_string = " "
[, int $pad_type = STR_PAD_RIGHT
]] )
This function returns the Parameters
Return ValuesReturns the padded string. Examples
Example #1 str_pad() example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|