getBoolFromString method

bool getBoolFromString (String s)

Returns true if s = TRUE, otherwise false (even for s=null).

Implementation

static bool getBoolFromString(String s) {
  if (s == "true") return true;
  return false;
}