Checking the file name for invalid characters

Before creating a file, check its name for invalid characters.

Options

fileName - file name to check

Result

True - if the name is valid, False - if the name contains invalid characters.

Author: admin