:sig
String dirname(String fn)

:params
fn : raw filename
return value : the directory's name

:see
>sys

:content
Isolates the directory component from a path or file name.

:example
print("dirname example\n");
