Skip to main content

text_stem

Function text_stem 

Source
pub fn text_stem(name: &str) -> &str
Expand description

A text note’s name without its extension: “letters.md” and “letters.txt” both give “letters”; any other name is given back as it is.