Returns the file name without extension.
1 file.getBaseName
<file.getBaseName>
<file /> !
</file.getBaseName>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Efile | file |
Returns | |
---|---|
Type | Description |
String | File name without extension. |
Example
Copy
<xsql-script name='file_getBaseName_sample1'> <body> <set name='m_path'> <string>c:<file.separator />jas<file.separator />webstudio.gc</string> </set> <println trim='true'> Absolute path of the file<string.space /><m_path/><string.space />:<string.space /> <file.getBaseName> <file name='#m_path' type='absolute' /> </file.getBaseName> </println> </body> </xsql-script>