Well this is not for me to worry as clients usernames are checked againgst the DB when creating a new account. But I would suggest that the string would be checked using somehting like this:
DO UNTIL <end of recordset>
IF <username_entered> = <record_username> THEN
prompt <username_entered> already in-use
ELSE
WRITE <username_entered> to DB (ie create a new record)
EXIT LOOP
END IF
NEXT record
it would force people to use other names such as JSmith, JohnSmith,
JS, John.Smith, JSmith1 etc etc
Hope this helps
Derek