delExt()
The function deletes the file extension of the specified file.
Synopsis
stringdelExt(stringpath);
Parameters
Parameter | Meaning |
---|---|
path | The file path |
Return Value
The file name without extension.
Errors
Wrong or missing parameter definitions.
Description
The function deletes the file extension of the specified file.
Example
main()
{
string from, result;
from = "test.txt";
DebugN(from);
result = delExt(from);
DebugN(result);
}
Assignment
Availability
CTRL