.OpenModelica.Scripting.basename

Returns the base name (file part) of a file path.

Information

Similar to basename(3), but with the safety of Modelica strings.

Interface

function basename
  input String path;
  output String basename;
end basename;

Generated at 2025-07-05T18:21:24Z by OpenModelicaOpenModelica 1.25.1 using GenerateDoc.mos