When using equalsIgnoreCase, do you write it as (example) word.equalsIgnoreCase("b")=B; or you write it as word.equalsIgnoreCase("b"); ?
It would just be word.equalsIgnoreCase("b");
Either way would be fine. The formula already ignores case.
string.equalsIgnoreCase() returns a boolean value (usually used in conditional statements) word.equalsIgnoreCase("b")=B is not valid at all. =B means assigning value of B to the left. So only word.equalsIgnoreCase("b") is right.