A string split operation
strsplit("name1.csv", "\\.")(*)
returns a list: '"name1' 'csv"'.
I know that I can select only the file name before extension like so:
strsplit("name1.csv", "\\.")[[1]][1] (**)
But this was selected from the returned list from (*), which has length 1.
Why is that?