Previous Topic

Next Topic

ValidFileName - MaxBasic Function

ValidFileName(FileName: String): String

Strips out invalid characters to return a valid file name.

ValidFileName function syntax has these named arguments:

Parameter

Description

File Name

Required. The file name to be evaluated.

Note that the words CON, PRN, AUX, CLOCK$ and NUL are reserved words and cannot be used as file names. These will result in an empty string.

See Also

String Functions

Book Contents

Book Index