> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/evaluator/stem.md).

# Stem

\<evalcmd> Stem && string && Filename component of specified path, without the file extension. && path && path && Filename or path. \</evalcmd>

Returns the filename component of the specified path (or filename) with the file extension removed.

//<Example://>

```
Output(Stem("C:\one\two\file.jpg"));
--> file
```

*See also:*\
[fileext](/directory-opus/manual/reference/evaluator/fileext.md)\
[filepart](/directory-opus/manual/reference/evaluator/filepart.md)\
[parent](/directory-opus/manual/reference/evaluator/parent.md)\
[root](/directory-opus/manual/reference/evaluator/root.md)
