Provided "Id" and "Title" were saved as a string (and read out as a string), yes...
PS: since this is JScript, you could also do:
JScript code:So you don't realy need the temporary variables, you could just assign a string to your existing WndLstWhatever variable and then use that same string variable to make it into an array. JScript is fine with that (as it automatically converts and overwrites the types in this case).
var WndLstId = ReadRegistry("Lst", "Id");
WndLstId = WndLstId.split(",");
var WndLstTitle = ReadRegistry("Lst", "Title");
WndLstTitle = WndLstTitle.split(",");
This might save you a lot of variable names and code.
Although there are a lot more, and more efficient methods to do what you do though (storing a lot of individual variables in the registry I mean).