method Path.stem
File name without the extension (a.tar.gz -> a.tar).
Example:
use std.io { Path }
fn main() io {
print(Path.of("/src/main.oxl").stem())
}Output
main
pub(api) fn stem() -> strSince. 1.0.0-beta
Returns
str
Effects
none declared (pure unless the body says otherwise)
Defined in: std/io/io.oxl:968