Comma in the RealName field

Hi,

I am trying to customise Sender field of the message header by using
templates. I am using the following object to get the Real Name value:

{$Transaction->CreatorObj->RealName}

The value contains comma, like this:

Surname, FirstName

But in fact I only get the first part of this value. The surname. If I
remove the comma from the Real Name field (on user config page) the
value is retuned back correctly.

Could somebody suggest the best way to get the value of RealName which
contains comma.

Any advice would be much appreciated.

Best regards, Roman.

Fixed,

by taking the $Transaction->CreatorObj->RealName in to double quotes like this:

{“"” . $Transaction->CreatorObj->RealName . “"”}On Wed, Nov 4, 2009 at 4:04 PM, Roman Zhelonkin zhelonkin.roman@gmail.com wrote:

Hi,

I am trying to customise Sender field of the message header by using
templates. I am using the following object to get the Real Name value:

{$Transaction->CreatorObj->RealName}

The value contains comma, like this:

Surname, FirstName

But in fact I only get the first part of this value. The surname. If I
remove the comma from the Real Name field (on user config page) the
value is retuned back correctly.

Could somebody suggest the best way to get the value of RealName which
contains comma.

Any advice would be much appreciated.

Best regards, Roman.

Best regards, Roman