Parse Boolean in string