string_or_null function

Get the representation to output