|
Enfusion Script API
|
Static Public Member Functions | |
| static proto bool | IsDelimiter (string c) |
| Checks if given char is valid path delimiter. | |
| static proto bool | IsSystemDelimiter (string c) |
| Checks if given char is valid system path delimiter. | |
| static proto string | ToSystemDelimiter (string c) |
| Converts given delimiter to system delimiter. | |
| static proto string | StripExtension (string path, out string ext="") |
| Removes extension from given path. | |
| static proto string | Concat (string firstPart, string secondPart) |
| Concatenates two strings two parts of path together. | |
| static proto string | StripFileName (string path) |
| Removes filename from given path. | |
| static proto string | StripPath (string path) |
| Extracts a file name from given path. | |
| static proto string | ToSystemFormat (string path) |
| Converts given path to system compatible format. | |
| static proto string | ToInternalFormat (string path) |
| Converts path to internal compatible format. | |
| static proto string | ReplaceExtension (string path, string extension) |
| Replaces an extension in given path. | |
| static proto string | AppendExtension (string path, string extension) |
| Appends an extension to the path. | |
| static proto bool | IsAbsolutePath (string path) |
| Checks whether a path is absolute or not. | |
| static proto bool | MatchesPattern (string path, string pattern) |
| Checks wheter a path matches a pattern. | |
| static proto string | FileSystemNameFromFileName (string path) |
| Gets FileSystemName part of given path. | |
Appends an extension to the path.
| path | Path to append the extension to |
| extension | The extension to append |
Concatenates two strings two parts of path together.
| firstPart | First part of path to concantenate |
| secondPart | Second part of path to concantenate |
Gets FileSystemName part of given path.
For example, $mypath:File would return mypath.
| path | Full path to file |
Checks whether a path is absolute or not.
| path | Path to check |
Checks if given char is valid path delimiter.
| c | Single char string to check |
Checks if given char is valid system path delimiter.
| c | Single char string to check |
Checks wheter a path matches a pattern.
| path | Path to be tested |
| pattern | Standard wildcards are supported (?,*) |
Replaces an extension in given path.
| path | Path to replace the extension in |
| extension | New extension to place to path |
Removes extension from given path.
| path | Path to remove extension from | |
| [out] | ext | Extension which was removed |
Removes filename from given path.
| path | Path to remove the file name from |
Extracts a file name from given path.
| path | Path to extract the file name from |
Converts path to internal compatible format.
| path | Path to be converted |
Converts given delimiter to system delimiter.
| c | Single char string to convert |
Converts given path to system compatible format.
| path | Path to be converted |