The two forms of this function do two different things.
Form 1 returns a list of all characters in the specified room, both players and mobs, as a character array.
Form 2 returns the character is the same room as the given character that the given character would identify by the given string. The string can include prefixes like '1.skeleton'. This form is used for parsing player commands.