Format name in efective way