主页
PHP
PHP str_pad() 函数
tryphp_func_string_str_pad2
运行 ❯
×
更改方向
保存代码
更改主题
<?php $str = "Hello World"; echo str_pad($str,20,".",STR_PAD_LEFT); ?>