def uncomment(line):
    """
    Remove OGS comments from a given line of an OGS file.

    Comments are indicated by ";". The line is then splitted by whitespaces.

    Parameters
    ----------
    line : str
        given line
    """
    return line.split(';')[0].split('//')[0].split()
