This question refers to the getString method shown below:
public static String getString(String s1, String s2)
{
int index = s1.IndexOf(s2);
return s1.Substring(index, index + s2.Length);
}
Which is true about getString? It may return a string that
I Is equal to s2.
II Has no characters in common with s2.
III Is equal to s1.
(A) I and III only
(B) II and III only
(C) I and II only
(D) I, II, and III
(E) None is true.