To meet your needs, we constantly work to improve Querix products.
This means that Lycia documentation is developing as well.
In case you have found a certain dissonance between the provided information and the actual behavior of Lycia 3 and/or your applications, please, let us know about this via documentation@querix.com so that we can introduce the necessary changes to our documentation.
Thank you for your attention and cooperation.
The os.Path.extension method is used to return the extension of the file. The syntax of the function is as follows:
CALL os.Path.extension(
f_name) RETURNING
extension
where:
· f_name = a string standing for the file name with its extension after the last dot,
· extension = a STRING variable containing the part of the f_name following the last dot in it.
Usage
If no extension is specified in the f_name, the function returns NULL.
Here is an example of the os.Path.extension method calling:
#returns "txt"
CALL os.Path.extension ("File_name.txt") RETURNING extension