find_letters: Determine letter categories for a Wordle guess

find_lettersR Documentation

Determine letter categories for a Wordle guess

Description

Compare a guess word to a known target word and determine the index locations for all correct, incorrect, and misplaced letters in the guess. Guess word and target word must have the same number of letters.

Usage

find_correct(target, guess)

find_incorrect(target, guess)

find_misplaced(target, guess)

Arguments

target

target of the match

guess

word to be compared to the target word

Value

integer vector


robe2037/wordle documentation built on March 2, 2023, 2:18 a.m.