def get_station_title_from_text(text, is_end=False, is_full=False):
    """
    Gets start/end station title from bot's answer text

    :param text: bot's answer text
    :type text: str
    :param is_end: is get end station title
    :type is_end: bool
    :param is_full: if the text is full answer created by
    `create_suburbans_answer` function
    :type is_full: bool
    :return: station title
    :rtype: str
    """
    if is_full:
        first_i, last_i, split_by = 0, int(is_end), " => "
    else:
        first_i, last_i, split_by = int(is_end), -1, ": "

    return text.split("\n")[first_i].split(split_by)[last_i]