str_pad < PHP
The str_pad function splits a string into an array.
$sentence = 'The quick brown fox';
$sentencePad = str_pad($sentence, 20);
echo $sentencePad;
// "The quick brown fox "
The str_pad function splits a string into an array.
$sentence = 'The quick brown fox';
$sentencePad = str_pad($sentence, 20);
echo $sentencePad;
// "The quick brown fox "