Similar to basename(3), but with the safety of Modelica strings.
function basename input String path; output String basename; end basename;