match function

bool match(
  1. Object val1,
  2. Object val2
)

checks if two Strings are the same !after trimming them

Implementation

bool match(Object val1, Object val2) {
  return val1 == val2;
}