ext(file)#

Returns the file extensions.

Type#

Arguments Return values
string string

Usage#

"${ext("a.txt")}"
# => ".txt"