Hi, Not quite sure what you are after here. I use a unique 'authorization code' in a program that requires the first 2 letters of the user id - which is always in lowercase. (windows password and all that). For ease of reading I convert them to upper case. <?php
$string = $_SESSION['UserID'];
$initials = substr($string, 0, 2);
$initials = strtoupper($initials); Sorry if not what you are after, but might spur other ideas!? Ady