• Parameters

    • word: string
    • Optionalreplacement: string[]
    • capitalize: boolean = true

    Returns string