Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | filename.getExt SEARCH    

  Functions
filename.getExt
filename.getLastFolder
filename.getName
filename.getPath
filename.getShortPath

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
filename.getExt

Language: MioScript
Product: MioFactory


Syntax

filename.getExt(Filename)


Parameters

STRINGFilenameFilename.


Return value

File Extension.



Description

Returns the extension of the file.

For the example below, the result is txt

c:\folder_A\folder_B\myFile.txt

Note: This function is defined in the library klib.k and is linked automatically.