• Check if the given string starts and ends with the given letter

    Parameters

    • str: string
    • letter: string

    Returns boolean