src/helpers/StringHelper.php
public static function padRight(string $str, int $length, string $padStr = ' '): string
    {
        return (string)BaseStringy::create($str)->padRight($length, $padStr);
    }
public static function padRight(string $str, int $length, string $padStr = ' '): string
    {
        return (string)BaseStringy::create($str)->padRight($length, $padStr);
    }
public static function padRight ( string $ str , int $ length , string $ padStr = ' ' ) : string { return ( string ) BaseStringy :: create ( $ str ) -> padRight ( $ length , $ padStr ) ; }
Returns a new string of a given length such that the end of the string is padded.

@param string $str The string to pad.
@param int $length The desired string length after padding.
@param string $padStr The string used to pad, defaults to space.
@return string The padded string.
Returns a new string of a given length such that the end of the string is padded .