def vector_to_string(vector, sep):
    """Convert 1D vector to String.

    Parameters
    ----------
    vector - array-like : vector to convert
    sep - String : String to use as separator between elements

    Returns
    -------
    strVector - String : vector as String with elements separated by sep

    """
    strVector = ""
    for el in vector[:-1]:
        strVector += str(el) + sep
    return strVector + str(vector[-1])