API GetRealmName

Returns the realm name.
 realm = GetRealmName()
 normalizedRealm = GetNormalizedRealmName()
==Returns==
:;realm: - The name of the realm.
:;normalizedRealm: - The name of the realm without spaces or - hyphens.
==Details==
* The normalized realm name is used for addressing whispers and in-game mail.
* When logging in, GetNormalizedRealmName() only returns information starting from as early as the event.
: 
-- GetTime(), event, GetRealmName(), GetNormalizedRealmName()
11647.589 VARIABLES_LOADED: "Defias Brotherhood", nil
11647.655 PLAYER_LOGIN: "Defias Brotherhood", "DefiasBrotherhood"
11647.655 PLAYER_ENTERING_WORLD: "Defias Brotherhood", "DefiasBrotherhood"
* When transitioning through a loading screen, GetNormalizedRealmName() may return nil between the and events.
==Example==
A small list of realm IDs and names.
-- /dump GetRealmID(), GetRealmName(), GetNormalizedRealmName()
503, "Azjol-Nerub", "AzjolNerub"
513, "Twilight's Hammer", "Twilight'sHammer"
635, "Defias Brotherhood", "DefiasBrotherhood"
1049, "憤怒使者", "憤怒使者"
1093, "Ahn'Qiraj", "Ahn'Qiraj"
1413, "Aggra (Português)", "Aggra(Português)"
1925, "Вечная Песня", "ВечнаяПесня"
==Patch changes==
==See also==
* () - Returns a character name and the server (if different from the player's current server)
==References==