Output will be like MrAakashSahani...

Correct format is title.concat(".").concat(firstName).concat(" ").concat(lastName)