Label displaying (null) how to remove (null) from lable

I assigned some (value) to label by using some string variable.

When string variable returning value label showing the same value . but when string is not returning any value label displaying (null).

so i want to not to show anything in label if string variable is not returning anything.

Answers


if([label.text isequaltostring:@"null"]) 

OR

string.length==0; 

OR

string.text==nil 

then put

label.text=@""; 

Need Your Help

Math parsing issues with double precision Java variables

java parsing math

I've got some heavy math to translate, from the apps I originally developed in VB6 to Java, and am running into a few issues with even the most basic equations.