1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
strInput = "url,url2" If InStr(strInput,",") Then 'split string and put into array sTheInputString = "val1,val2" aLineArray=split(sTheInputString ,",") sURL1 = aLineArray(0) sURL2 = aLineArray(1) Else 'comma Not Found End If