Added check for empty strings Return error message as string in place of throwing error
Added check for empty strings
Return error message as string in place of throwing error

PromilBhardwaj/spellJS,PromilBhardwaj/spellJS