ExtractExt

This function returns the extension part of a file path.

Syntax

Parameters

Returns

Returns the extension part of the specified file path.

Example

#include "Leadwerks.h"

using namespace Leadwerks;

int main(int argc, const char *argv[])
{
//Get the extension part
System::Print(FileSystem::ExtractExt("Materials/Brick/brickwall01a.mat"));

return 0;
}