and decided to make a music skin. but I have a problem. When measuring the track info spotify returns it in the format "SPOTIFY - ARTIST – TRACK" in one string. and in the skin I want to have the Artist and Track in different places. so I need to split the string into 2 strings of artist and track. I've spent a bit of time searching and I thought that REGEXP function was my best bet,
so I tried the code
I think its worth pointing out here that the "-" after "SPOTIFY -" is a different symbol to the "–" between the Artist and Track
needless to say this didn't work which is why I'm here. have I made a mistake? or will regexp only work with WebParser? and if regexp wont work is there another way I could split this string up?
RegExp is only used with WebParser. It is a feature of the plugin, not Rainmeter. The only way to split up the string would be to somehow output it to a file and then use WebParser to read and parse that file.