```python
def extract_string(str, l):
    """
    Extracts strings of a specified length from a list of strings.

    Args:
        str: A list of string values.
        l: An integer representing the desired length of the strings.

    Returns:
        A new list containing only the strings from the input list
        that have a length equal to l.
    """
    return [s for s in str if len(s) == l]

```