I want get first letter from each word and whole text of last word from full name. For Examples;
Full name is Sonali Lakshika Hasini Dikkubura. I want to take it as S.L.H. Dikkubura
Another example is Sampath Kauminda Kaluarachchi. I want to take it as S.K. Kaluarachchi
Like that I want to convert name. Please help me to do this one.