Member predicate Files::Container::getStem

Gets the stem of this container, that is, the prefix of its base name up to (but not including) the last dot character if there is one, or the entire base name if there is not.

Here are some examples of absolute paths and the corresponding stems (surrounded with quotes to avoid ambiguity):

Absolute pathStem
"/tmp/tst.py""tst"
"/tmp/.gitignore"""
"/bin/bash""bash"
"/tmp/tst2.""tst2"
"/tmp/x.tar.gz""x.tar"
string getStem()