Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
in tMap how do I convert an integer ("0") to a string ("Not Available")? I want the lines where the number 0 appears to become the string.
Hello @Ana Lopes ,
Please try the below expression in Bold
int num=0;
String ret="0".equals(String.valueOf(num))?"Not Available": String.valueOf(num);
System.out.println(ret);