You can get the position of the Carriage Return to a DisplayOnly integer field 
using STRSTR
   STRSTR($Large_Character$, LTRIM(RTRIM(" | ")))     <- The vertical bar is 
the return character

Then in if the position < 128 use the DisplayOnly temp value else use 128

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Brittain, Mark
Sent: Wednesday, December 15, 2010 3:36 PM
To: [email protected]
Subject: Re: Detect end of line

** 
That is one approach that I am considering but the result is not clan and would 
be like this
How big is the Short Description filed on your system? 128 Characters?
Do a SET fields action into Short Description - Left( $Lar

What I want to get into the Short Description is this
How big is the Short Description filed on your system? 128 Characters?

Thanks
Mark

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Reiser, John J
Sent: Wednesday, December 15, 2010 4:22 PM
To: [email protected]
Subject: Re: Detect end of line

** 
How big is the Short Description filed on your system? 128 Characters?
Do a SET fields action into Short Description - Left( $Large_Character$, 128)

--- 
John J. Reiser 
Remedy Developer/Administrator 
Senior Software Development Analyst 
Lockheed Martin - MS2 
The star that burns twice as bright burns half as long. 
Pay close attention and be illuminated by its brilliance. - paraphrased by me 

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Brittain, Mark
Sent: Wednesday, December 15, 2010 4:11 PM
To: [email protected]
Subject: EXTERNAL: Detect end of line

** 
Hi All,
 
What I would like to do is parse the first line of a large character field? I 
want to take that first line and do a set field into s short description field
 
Thanks
Mark
____________________________________________
Mark Brit tain
Remedy Developer
NaviSite
[email protected]
(315) 453-2912 x5335 (Office) 
(315) 317.2897 (Cell) 
 
 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to