Cleans the name of the file.
Namespace: DotNetNuke.CommonAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string CleanFileName( string FileName, string BadChars ) |
Visual Basic |
---|
Public Shared Function CleanFileName ( FileName As String, BadChars As String ) As String |
Parameters
- FileName
- Type: System..::..String
Name of the file.
- BadChars
- Type: System..::..String
The bad chars.