DriveWorks Pro 15: IsValidFileName [send feedback...]

ISVALIDFILENAME

This function checks the specified file name and ensures it is of a valid structure and syntax.

Syntax

Available for DriveWorks Projects only. See New Project Wizard for information on project types.

ISVALIDFILENAME( [ FileName] )

FileName is the file name to check

Examples

Rule

Meaning
ISVALIDFILENAME("helloworld.txt")This function validates the file name "helloworld.txt" and returns True as it is structurally and syntactically valid.

Example Outcomes

FileNameOutcome
"helloworld.txt"True
"hello:world.txt"False
"helloworld"True
"\hello\world.txt"False
""False

Table of Contents