How do you join lines in a container so it becomes one line, so  you can use split?
    Dar Scott 
    dsc at swcp.com
       
    Wed Jun 11 12:08:00 EDT 2003
    
    
  
On Wednesday, June 11, 2003, at 09:19 AM, Sadhunathan Nadesan wrote:
> Question:  I have a container which contains an sql cursor, ie, a 
> number
> of lines of data (in this case 2 fields separated by the pipe symbol).
> I want to place this in an indexed array so I can use it in a 
> replacement
> algorithm.  Whenever the index field (field 1) is found in some data,
> replace it with the indexed field (field 2).
>
> So, I want to use the split command to create this array, but trying to
> split on return, or newline, or cr, or numToChar(10)  ... this is a 
> Unix
> system .. does not work.
Could your fields have "|" or numToChar(10) in them?
Dar Scott
    
    
More information about the metacard
mailing list