def clean_whitespace(statement):
    """
    Remove any consecutive whitespace characters from the statement
    """
    import re
    statement = statement.replace('\n', ' ').replace('\r', ' ').replace('\t',
        ' ')
    statement = statement.strip()
    statement = re.sub(' +', ' ', statement)
    return statement
