What's the nice way to do: parse_result(undefined) -> {error,"String not defined"}; parse_result("") -> {error,"String not defined"}. Vik :v)