Write a method that tales two Strings as input and returns a String that contains the characters that are in both inputs
Posted: Thu Jul 14, 2022 2:11 pm
Write a method that tales two Strings as input and returns a String that contains the characters that are in both inputs at the same locations, in order. For ckample, matchingCharsl"abracadiabra". "aanfwark"l chould return "ara" because the fust, third, and sinth characters are the same, but no others.