getBoolFromString method
Returns true if s
= TRUE, otherwise false (even for s=null).
Implementation
static bool getBoolFromString(String s) {
if (s == "true") return true;
return false;
}
Returns true if s
= TRUE, otherwise false (even for s=null).
static bool getBoolFromString(String s) {
if (s == "true") return true;
return false;
}