on 02-09-2015 6:52 AM
Hi Reshma
Currently Your if block is not getting value because { if(name.equals(text)) } here text contain some other value. Please try below code:-
public String getExtensionString(String name)
{
String value="";
if(name.equals(text))
{
value="null";
}
else{
value=text.toString();
}
return value;
}
Hope its working for you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.