Complex sentence: Both Nasution and Yani were anti-Communists, but their attitude towards Sukarno was different.
Split into simpler sentences: Both Nasution and Yani were anti-Communists. But their attitude towards Sukarno was different.