Loperamide is the same as Imodium only in generic form (here in the U.S.) so if the doc writes a RX for Imodium and allows generic substitutions, then loperamide is the comparable. Does that make sense?
If you don't have problems with salads, I can't imagine you'd have any problems with fruit - just watch the skins! And seeds!!