Thank you.  JOIN makes it easier.

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neal Quinn
Sent: Monday, March 05, 2007 1:49 PM
To: [email protected]
Subject: Re: [Talk] reformating dates


Denise:
 
You could use the converse of 'split' to join the array:
 
string = JOIN(array,"")
 
Neal

        ----- Original Message ----- 
        From: Sebastian,Denise <mailto:[EMAIL PROTECTED]>  
        To: [email protected] 
        Sent: Monday, March 05, 2007 2:07 PM
        Subject: RE: [Talk] reformating dates

        Gary, 
         
        Use two things and array and split.
         
        array = split(string , "/")
         
        string = array(0)+array(1)+array(2)
         
        This is how I have done it in the past.
         
        Denise Sebastian

________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gary Williams
        Sent: Monday, March 05, 2007 11:06 AM
        To: [email protected]
        Subject: [Talk] reformating dates
        
        
        I am working on a new script and my input file from pharmacy has
the date as 07/14/2004. The meditech field wants it in a format of
07042004. Can the script remove the "/"? 
         
        Thanks
        Gary Williams
        Data Tech
        Memorial Hospital

Reply via email to