+ Start a Discussion
a!a! 

concatenate two standard fields with space

 obj1.name = obj2.name+obj3.name;

 getting out put as "namename"

but i need space or any special character in between two filelds as name name or name-name.

 

 

Thanking you in advance.

 

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard
 obj1.name = obj2.name+' '+obj3.name;

 should do the trick. You can change the space to a '-' if you prefer that separator.