The stringToSymbol function is a core SKILL function, so it is available in OCEAN. You could also choose to use concat()
for converting a string to a symbol - concat does not complain if you pass it either a string or a symbol, so it may be a little
more flexible than stringToSymbol, depending on your usage of the function.
In your post you mention "window1" - I'm used to seeing window id's like window:5 but perhaps yours is different because
it is a waveform window? However, if you have a window id like window:5 you can use the window function to return such
an id, e.g.
I hope this helps!