For the one who want to transfer contacts from iPhone 4 to Galaxy 5, you have two ways to do that. One is using Google account, you can check the details online. The other is using phone transfer tool, such as Coolmuster Mobile Transfer, which can help us dierctly transfer contacts between them.
If you have icloud account then open icloud at the lower left side there is option export or backup contact. export or backup contact now move that file to samsung and restore it.
There are software available for ios to android transfer as well as samsung has specific software for transfer.
Thirdly try to transfer your iphone contact to gmail and then add same gmail account to samsung galaxy. and restore your contact.
And if you dont have large number of contact the sms it.