I need to format a particular attribute in the following format:-

FirstName = SHAJI
Lastname = PAPPAN PALAMATTATHIL
I need to get the targetname in the format FirstName<space>Last string of Lastname where only the first letter of each strings will be in UpperCase.

Required TargetName = Shaji Palamattathil

Is there any method to retrieve using designer scripting.