Convert a filename to a resource name.

resource_name(filename)

Arguments

filename

character. The filename.

Value

the resource name (i.e., stripped of idempotence and extension).