API GetRealmName

GetRealmName and GetNormalizedRealmName return the name of the character's realm in different formats. realmName = GetRealmName normalizedRealmName = GetNormalizedRealmName

Returns

 * realmName : String - The name of the realm, unmodified.
 * normalizedRealmName : String - The name of the realm, but without spaces or hyphens.

Example
The following macro prints the name of your character's realm: /run print("You are currently on realm: " .. GetRealmName)