Returns the extension for the specified path string.

Input

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

Output

.txt

In this article