Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

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
filePathstringyesFull 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)

Additional information

Related commands

  • No labels
Loading app...