Get first name of a Modelica path name
function getFirstName import Modelica.Utilities.Strings.*; input String path; output String head "= path upto but not including the first \".\" (if \".\" not present, head=path)"; end getFirstName;