Q: Remove the spaces from the following sentence: Terms of hotels in Egypt.
A: [TermsofhotelsinEgypt.]

Q: Remove the spaces from the following sentence: If the victim opens the file, they're encouraged to allow an embedded file to run in order to see the document.
A: [Ifthevictimopensthefile,they'reencouragedtoallowanembeddedfiletoruninordertoseethedocument.]

Q: Remove the spaces from the following sentence: The researcher, like the lonely prospector, learns to expect little for much toil, but in this case I was startled by the large nugget of truth which I found in The Times Official History thirty-five years after the event.
A: [Theresearcher,likethelonelyprospector,learnstoexpectlittleformuchtoil,butinthiscaseIwasstartledbythelargenuggetoftruthwhichIfoundinTheTimesOfficialHistorythirty-fiveyearsaftertheevent.]

Q: Remove the spaces from the following sentence: (4) The competence of the DB terminates when the parties agree to it.
A:
[(4)ThecompetenceoftheDBterminateswhenthepartiesagreetoit.]