-- $Date$
-- $Revision$
-- $Author$

with String_Tools; use String_Tools;

package body Tag_Strings is

   function To_String
     (This : in Tag)
     return String
   is
      Result : String := External_Tag(This);
   begin
      To_Lower(Result);

      for Index in Result'Range loop
         if Result(Index) = '$' then
            Result(Index) := '.';
         end if;
      end loop;

      return Result;
   end To_String;

end Tag_Strings;