I have a HS2 script I'd like to convert to HS3 but noticed that hs.StringItem no longer exists. Can someone suggest a workaround to the section below which uses it?
Thanks,
Robert
PHP Code:
For I=0 to UBound(section_items)
Dim the_date_time As String
Dim the_name As String
Dim the_note As String
the_date_time = hs.StringItem(section_items(I),1,"=")
the_name = hs.StringItem(section_items(I),2,"=")
the_note = hs.StringItem(section_items(I),3,"=")
If the_name = "SUMP OFF" Then
dev_string = dev_string & "<img src=\MyImgs\led-red.gif> <small>" & the_name & " @ " & the_date_time & " " & the_note & "</small> <br>"
Else
dev_string = dev_string & "<img src=\MyImgs\led-green.gif> <small>" & the_name & " @ " & the_date_time & " " & the_note & "</small> <br>"
End If
Next
Robert
Comment