Returns sample name derived from the input file name

get_sample_name(s)

Arguments

s

string; A file.path

Value

string containing the sample name

Examples

#get_sample_name("C:/dir/dir/filename.ext")