What does it mean when you dimension a variable as a string followed by ()? Does this create an array? How would you convert it back to a simple string? Here's the code I'm using. I have not run it yet. I've never used string() and would like to know what type of variable it creates.
Protected Function DeleteExistingBackup(ByVal strBackupPath As String) As Boolean
Dim strFileList As String()
Dim strFileName As String
If Directory.Exists(strBackupPath) = True Then
strFileList = Directory.GetFiles(strBackupPath, "*.bak")
For Each strFileName In strFileList
Else 'Directory does not exist