receive specific text in WebSocket

03 Dec 2012

Hello!! I've been working with a websoket to control a digital output, but the instruction to use, just returns a "true" or "false", anyone know how to read a specific line of text or character string as "ON" or "OFF"

thanks