def split_string(input_str):
    """
    Parse input string and returns last comma separated element.
    In case no comma found, all string is returned.

    Args:
        input_str(str): input string that will be parsed

    Returns:
         str: last comma separated element,
              or all string in case no comma found.
    """
    return input_str.split(',')[-1]