Description
Retrieves the extension portion of a file path, excluding the dot. For example, for "c:/temp/take25.c3d"
, "c3d" will be returned.
Functional area
System
Command syntax
Syntax
getFileExtension "filePath" |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
filePath | string | yes | Full path to the file to get the extension for. Be sure to use forward slashes instead of back slashes. |
Flags
None
Return value
string
Returns the file's extension.
Examples
// Get the extension of a file path. string $extension; string $path = "c:/temp/take25.c3d"; $extension = `getFileExtension $path`; print $extension;
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: https://scroll-exporter-extensions.de.exporter.k15t.app/*
Unable to forward this request at this time.
This request could not be forwarded to the origin server or to any parent caches.
Some possible problems are:
- An Internet connection needed to access this domains origin servers may be down.
- All configured parent caches may be currently unreachable.
- The administrator may not allow this cache to make direct connections to origin servers.
Your cache administrator is webmaster.
Generated Wed, 02 Apr 2025 08:53:46 GMT by ip-10-19-3-36 (squid)