def parse_str(s):
    """
    parser for (stripped) string

    :s:         the input string to parse
    :returns:   the string, stripped of leading and trailing whitespace
    """
    return s.strip()