extention - Returns the length of an expression.
extention ("file", …)
This function returns the extension of a file, that is the type of the file. If multiple files are specified at the beginning, it returns an array containing all the extensions.
Note: In the followings examples, the _ between the { should be removed to make it work.
res={_{ extension("toto.txt"); }}. return res=txt. res={_{ extension("toto"); }}. return res=. res={_{ extension(); }}. return res=. res={_{ extension("1.txt","2.a","3.xls","4"); }}. return res=["txt","a","xls",""].
Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
1.0 2014-09-09 21:24:14 laplante@sednove.com