Get class msgln and extract text for msg.