LJ::canonical_username

LJ::canonical_username — normalizes username.

Use

LJ::canonical_username(user);

Arguments

  • user. 

Source:

cgi-bin/LJ/User.pm

Returns:

the canonical username given, or blank if the username is not well-formed