(val)
return val
Turn a string or array value into a string.
Turn a string or array value into a string.
Turn a string or array value into a string .
def toString(val):
        """
        Turn a string or array value into a string.
        """
        if type(val) in (list, tuple):
            return ' '.join(val)
        return val
def toString ( val ) : if type ( val ) in ( list , tuple ) : return ' ' . join ( val ) return val