사용자 이름 * 처리

1, 10까지 사용자의 이름 * 표

hello.sh
{@
$ex_fir_name = iconv_substr($document->getUserName(),1,10,"utf-8");
$ex_count = iconv_strlen($ex_fir_name,"utf-8");
$ex_count = (int)$ex_count;
$ex_last_name = "*";
for($i=0; $i<$ex_count-1; $i++):
$ex_last_name = $ex_last_name."*";
endfor;
}

Last updated