Split a String using webcore


#1

Does anyone know how to split a string into a list string in Hubitat webcore, i have device variable {([ GCal Event : eventTime ])} and want to split it using " ", so i can use each part separately. any help much appreciated.


#2

In webcore docs

look at expressions, and functions
https://wiki.webcore.co/Functions

left()
right()
trim()
substring()
replace()