def get_before_slash(string):
    """
    Get the part of a string before the first slash
    :param str string: String to return the first part of
    :return str part_before_first_slash: Part of the string before
    the first slash
    """
    return string.split('/')[0]
