Complex sentence: When used as convoy escorts, the ships' aircraft were successful in deterring German submarines from attacking Allied convoys, with a number of German submarines and aircraft destroyed or damaged by the aircraft.
Split into simpler sentences: When used as convoy escorts, the ships' aircraft were successful in deterring German submarines from attacking Allied convoys. They were able to claim some success, with a number of German submarines and aircraft destroyed or damaged by the aircraft.