Returns the file name and extension of the specified path string.

Input

{{ "/alpha/beta.txt" | file_name }}

Output

beta.txt

In this article