Has anyone been able to figure out how to code the “Bonus to the bonus” step on String&ArrayStudio03? I can’t get the “include” method to work correctly. It either gives me false positives or false negatives depending on how I manipulate it. I tried googling and re-reading the sections in the book. I still have no success after trying for a couple hours.

After asking this, I tried one more time and got it to work -_- I created a variable for the include method, but I didn’t have it coded correctly. In case anyone else is needing help, an example of how I coded it would be:

let availability = cargoHold[input1].include(input2);

if (availability != false) {*print statements}