FilesReplaceInvalidFileNameChars Method
Replaces illegal characters in the file name with the specified character.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string ReplaceInvalidFileNameChars(
string fileName,
char validChar = ''
)
Public Shared Function ReplaceInvalidFileNameChars (
fileName As String,
Optional validChar As Char = ""C
) As String
- fileName String
- The file name to process.
- validChar Char (Optional)
- The character to replace illegal characters.
StringString with the file name with illegal characters replaced.