Function decodeRect

decode comma delimited dimension list or single value - and put to Rect

Rect decodeRect(
  string s
);