Announcement
Collapse
No announcement yet.
How can I replace an odd character in a string?
Collapse
X
-
Are you trying to modify the device string or the text in the email?
The function you are trying to use is designed to set a device value, which is a number.
You could do something like:
Code:Dim X As String = hs.DeviceString(481) X = Replace(X, "&", " ") hs.SetDeviceString(481, X, False)
Mike____________________________________________________________ __________________
HS3 Pro Edition 3.0.0.548, NUC i3
HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti
Comment