Hi Carey - 

Thanks for the information, I appreciate your response - I'd done a search, 
but hadn't originally come up with anything specifically relevant.  

I tried what you suggested, and couldn't get it to quite work - but based 
on your input, played around with it a little after using a hex editor to 
figure out what the Remedy GUI was "doing".  Here is what I found:

The carriage return (<CR>, \n, 0D, etc.) is represented by a space, then a 
carriage return, then a line feed.  In writing your function, you need to 
write the function - I used "" where I wanted the carriage return to be, 
then go into the "editor" (click on the page-looking icon to the right of 
the Value field, for example), and hit the enter key where you want the CR 
to be.  It will look like a carriage return in the editor, but once you 
close it in the value field you will see something like this:  

REPLACE($Character Field$, "|",  "ababab")

Now - the fun's not over yet!  As Carey mentioned, there may be some 
trimming, etc. to do - but I found the most consistent way to be able 
to "grab" the CR is to do the following:

REPLACE($Character Field$, RIGHT( "|", 2),  "ababab").

Having said all of this, I did modify my original search of ARSList and did 
find a few posts on this - and it looks like the way carriage returns are 
represented have changed over the versions.  Does anyone know if this is 
the case?  If so, I'm thinking we'd modify some of our designs to avoid 
having something "break" in future versions.

Regards,
Cindy

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to