> For the complete documentation index, see [llms.txt](https://kants.gitbook.io/xeant/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kants.gitbook.io/xeant/php/undefined.md).

# 사용자 이름 \* 처리

{% hint style="info" %}
&#x20;1, 10까지 사용자의 이름 \* 표
{% endhint %}

{% code title="hello.sh" %}

```php
{@
$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;
}
```

{% endcode %}
