<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def splitter(div, *args):
 """ Split text with dividers easily. :return: newly made value :rtype: str :param div: the divider """

    retstr = ""
    if type(div) is int:
        div = theArray()[div]
    if len(args) == 1:
        return args[0]
    for s in args:
        retstr += s
        retstr += "\n"
        retstr += div
        retstr += "\n"
    return retstr