TudorSmith
Programmer
Hi
I am using Macro's to fire off emails when certain conditions arise within Problem Tickets. The issue I have is that the description field I am including in my email is drawn from a memo field (using VB terminology here) and so because the field contains carriage returns and new lines, I get certain ASCII characters in my email.
Here's my Evaluating Expression:
The value for action is my issue. here is the output to the email:
Does anyone know how I can strip out the following characters: { \ " }
I am using Service Center 3.0 sp5
Many thanks
birklea birklea ~©¿©~ <><
I know what I know...don't presume that I know what I don't! Smithism!!!
I am using Macro's to fire off emails when certain conditions arise within Problem Tickets. The issue I have is that the description field I am including in my email is drawn from a memo field (using VB terminology here) and so because the field contains carriage returns and new lines, I get certain ASCII characters in my email.
Here's my Evaluating Expression:
Code:
$L.message={"Description:"+brief.description in $L.new, "Building: "+building in $L.new, "Floor:"+floor in $L.new, "Room:"+room in $L.new, "Reported by:"+first.name.rb in $L.new+" "+last.name.rb in $L.new, "Contact Phone: "+contact.phone in $L.new, "Cost Centre: "+charge.code in $L.new, "Action:"+str(action in $L.new), "", "Email Date/Time Stamp: "+tod(), ""}
The value for action is my issue. here is the output to the email:
Code:
ServiceCenter Operator: WEATHERLEY_F
Description:Sat 23/02/02 - High temperature on Sat 23/02/02 in the above location please could
Building: 500
Floor:GROUND
Room:23
Reported by:KAREN ROGERS
Contact Phone: +44 1234 567890
Action:{\"Sat 23/02/02 - High temperature on Sat 23/02/02 in the above location please could \", \"you advise customer what happened?\"}
Email Date/Time Stamp: 25/02/2002 10:05:49
Does anyone know how I can strip out the following characters: { \ " }
I am using Service Center 3.0 sp5
Many thanks
birklea birklea ~©¿©~ <><
I know what I know...don't presume that I know what I don't! Smithism!!!