contrib / base_name.pre

Edit on Github

string base_name(string object default: F__THIS_OBJECT);
returns (file_name(object) string) up to (but not including) first ‘#’