AnsweredAssumed Answered

Fw: vrf removing commas from an array

Question asked by alex.barrett on Feb 8, 2008




Hey that's perfect Martin.

trying to work out why when I did a similar thing the 'From String' threw an error if there wasn't a comma present...? - must've been doing something else wrong..

Many thanks - vrf to the rescue once again...


Alex.
                                                                           
                                                                           
(And to Bernd at Agilent, sorry our system is currently blocking html     
emails so I can't see the image you embedded.. If it says the same, or is 
a better solution than above then please email me directly with the       
solution attached..)                                                      
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
Alex Barrett                                                              
Test Development Engineer                                                 
Test Development Engineering                                              
Raytheon Systems Limited                                                  
                                                                           
                                                                           
+44 (0) 1279 407768 office                                                
+44 (0) 1279 407620 fax                                                   
+44 (0) mobile                                                            
Alex.Barrett@raytheon.co.uk                                               
                                                                           
                                                                           
The Pinnacles,                                                            
Harlow,                                                                   
Essex CM19 5BB                                                            
                                                                           



                                                                          
                                                                          
             <martin.papproth@                                            
             nokia.com>                                                   
                                                                        To
             08/02/2008 07:16          <Alex.Barrett@raytheon.co.uk>      
                                                                        cc
                                                                          
                                                                   Subject
                                       RE: [vrf] removing commas from an  
                                       array                              
                                                                          
                                                                          
                                                                          
                                                                          
                                                                          
                                                                          
                                                                          



Hi Alex,

is this what you want to achieve ?

br
Martin

Sitz der Nokia GmbH: Bochum * Amtsgericht Bochum:HRB 4112 *
Umsatzsteueridentifikationsnummer: DE 811163 495 * WEEE-Reg.-Nr. DE
51797011* Vorsitzender des Aufsichtsrates: Veli Sundbäck * Geschäftsführer:
Timo Elonen, Klaus Goll (Sprecher der Geschäftsführung), Karsten Schilly

> -----Original Message-----
> From: ext bounce-5932537-2542673@it.lists.it.agilent.com
> [mailto:bounce-5932537-2542673@it.lists.it.agilent.com]
> Sent: Freitag, 8. Februar 2008 07:51
> To: VRF
> Subject: [vrf] removing commas from an array
>
>
> Hi VRFers,
>
> I have a problem that seems really quite straightforward, but I just
> can't find a simple answer.. If anyone has any ideas i'd love to hear
> them.
>
> I've got an instrument which insists on returning it's raw trace data
> as a 1d text array. Ok fair enough you might think. However, numbers
> that are over 1000 appear 1,000..
>
> ...so I need to remove the comma in the elements of the array that
> contain them.. just as an example my data might appear as such......
>
> 0: 23
> 1: 1,023
> 2: 987
> 3: 488
> 5: 2
> 6: 2,048
> ....
> ....
> 2000: 9,321
> 2001: 589
>  on and on... will need to handle any size array.
>
> I await the completely patronising answer from some who suggests using
> RemoveCommasFromStupidTextArray();
>
>
> Thanks all,
>
> Alex.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ---
> You are currently subscribed to vrf as: martin.papproth@nokia.com To
> subscribe please send an email to:
> "vrf-request@lists.it.agilent.com" with the word subscribe in the
> message body.
> To unsubscribe send a blank email to
> "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list,  email "vrf@agilent.com".
> If you need help with the mailing list send a message to
> "owner-vrf@it.lists.it.agilent.com".
> Search the "unofficial vrf archive" at
> "http://www.vrfarchive.com/vrf_archive".
> Search the Agilent vrf archive at
> "http://vee.engineering.agilent.com".
>
>
[attachment "remove_commas.vee" deleted by Alex Barrett/H9458/RAYTHEONUK]



---
You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".

Outcomes