I have a string format that is of this format {"message ":"System: you are now connected as ghi"}
I want to trim it such that I get this System: you are now connected as user
as final string.
I guess in JS we cannot trim a string and we can only trim white spaces so how do I get this