GetPrivateProfileString是用来读ini函数的
现在有一个配置文件run.ini如下
[配置参数]
Address=notebook
Catalog=hr现在有一段代码如下
Set fso = CreateObject("Scripting.FileSystemObject")
If (fso.FileExists(App.Path + "\run.ini")) ThenElse
  MsgBox "配置文件出错,程序不能运行"
  Exit Sub
End IfINIfileName = App.Path + "\run.ini"
n = GetPrivateProfileString("配置参数", "Address", "", ip, Len(ip), INIfileName)
ip = Left(ip, n)INIfileName = App.Path + "\run.ini"
n = GetPrivateProfileString("配置参数", "Catalog", "", catalog, Len(catalog), INIfileName)
catalog = Left(catalog, n)我想在catalog里面添加多个选项,把catalog写成这样的
Catalog=hr1,hr2,hr3,hr4,hr5
可能还有hr6,hr7,hr8
然后把这些hr读到变量里面请问怎么实现