file extension name
Returns all of the characters in name after and including the last dot in the last element of name. If there is no dot in the last element of name then returns the empty string.
See also:
Tcl syntax help - Category Command - Category Introspection