Can't convert Active, Acknowledged to java.lang.String

I am trying to get data using system.alarm.queryStatus.query with some filter and want to pass on that data to text label and numeric label. But I am getting error particularly in alarm state. In query, when we use state - “ClearUnacked”, “ClearAcked”, “ActiveUnacked”, “ActiveAcked”, it will give you back the records based on filter but when you try to get state data, it gives you value like ‘Active, Acknowledged’ and we cannot pass it to string or text.

I want value of state in Text/String format. I don’t know which data type is for ‘Active, Acknowledged’ .

Thanks in advance.