Hi Matt,
I already ran with this problem before (Fieldname != "" comparison).
You can evaluate if something is empty with the IsEmpty() method. Use it as follows:
{% IfEmpty(Fieldname, "n/a", Remove(Fieldname, 0, LastIndexOf(Fieldname, "/") + 1) %}
First parameter is the object to evaluate if empty. Second parameter is what is returned if evaluated object is null. Third parameter is what is returned if evaluated object is not empty.
I suggested you take a look at
this. Really helpful :)
Regards,
Nicolas