Skip to content

stem

In std/io.

fn stem(self: Path) : String

The last segment of self without its extension: Path("data/birds.csv").stem() is "birds".