Monday, March 21, 2011

Convert String to boolean

String strBoolean = "true";

//Do the String to boolean conversion
boolean theValue = Boolean.parseBoolean(strBoolean);

No comments:

Post a Comment

Chitika