Check if value is empty before trim and remove from function statement
Closes #1 (closed)
As this was failing on trim() when the value was empty, I removed the trim from the statement, and only trimmed before if the value was not empty.
Edited by Jenny Dumitrescu