AnsweredAssumed Answered

how to print < and > in test case

Question asked by swathib on May 24, 2018
Latest reply on May 25, 2018 by swathib

My test case has to print &lt; and &gt; But these values are converting into <  and >.

 

String str = "&lt;![CDATA[{\"request\":{\"start\":\"2017-01-01T00:00:00.000-08:00\"}} ]]&gt;";

 

Here is my string object. When i'm trying to return it below string object value is printing.

 

<![CDATA[{"request":{"start":"2017-01-01T00:00:00.000-08:00"}} ]]>

 

Please help me on this>

Outcomes