def splitstring(string, split_character=' ', part=None):
    """

    Split a string based on a character and get the parts as a list

    string:
    The string to split

    split_character:
    The character to split for the string. The default is ' '.

    part:
    Get a specific part of the list. The default is None.

    """

    if part is None:
        return str(string).split(split_character)
    return str(string).split(split_character)[part]