AnsweredAssumed Answered

vrf AW: From Array1D to Scalar String

Question asked by warren.pickles on Aug 9, 2004
Well that depends ... if you want literally
ie two characters then use
sum(A+"\n").  If you want the "
" character ie line feed then use
sum(A+"
").  Or is it carriage return I can never remember.


-----Original Message-----
From: Mike Groves [mailto:mike@grovesnet.org]
Sent: 10 August 2004 11:08
To: VRF
Subject: [vrf] RE: AW: From Array1D to Scalar String


Yep, just don't forget the escape character "" has to be doubled to
let VEE know you just want one backslash and not and ESCAPE<something>.
(I know you knew that, Warren! <w>)

So Warren's formula would be sum(A+"\n")

Cheers!
Mike Groves


-----Original Message-----
From: Pickles, Warren [mailto:Warren.Pickles@tycoelectronics.com]
Sent: Tuesday, August 10, 2004 2:55 AM
To: VRF
Subject: [vrf] RE: AW: From Array1D to Scalar String


Or you can use a formula object, sum(A+"
")
But that will put "
" after the last element as well, so then you need a
second formula, StrFromLen(A,0,StrLen(A)-1)


-----Original Message-----
From: Markus Bernhardt [mailto:Bernhardt@somatec.de]
Sent: 10 August 2004 11:10
To: VRF
Subject: [vrf] AW: From Array1D to Scalar String


Hi Pablo,

you can use the ToString object. Just set the property Data Format/Array
Seperator to "
".

Best regards
M. Bernhardt
---------------------------------------------
SOMATEC - Software fr Maschinensteuerungen
und Automatisierungstechnik GbR

Jagdweg 7a
D-82041 Deisenhofen

Telefon :  (089) 613 984 94
Fax :      (089) 613 981 23
Email :    Bernhardt@somatec.de
homepage : www.somatec.com
---------------------------------------------


-----Ursprngliche Nachricht-----
Von: pvergara@tqr.biz [mailto:pvergara@tqr.biz]
Gesendet: Dienstag, 10. August 2004 10:00
An: VRF
Betreff: [vrf] From Array1D to Scalar String


        Hi vtr.

        I wanna know how to concatenate all the text elements of an 1D Array
to create an Scalar String and between the elements put the "
" character.

        Example:

                ["Hello1","Hello2","Hello3"]=> "hello1
hello2
hello3"

        I've tried with "I/O,To,String" but this object don't put the "
"
in the string.

        Best regards.

--
----
Pablo C. Vergara Castro.
Departamento de informtica.
TQR-Software
Tlfno.: (+34) 986 11 46 40
Fax:    (+34) 986 11 46 50

---
You are currently subscribed to vrf as: Bernhardt@somatec.de
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
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".

---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
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".

---
You are currently subscribed to vrf as: mike@grovesnet.org
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
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".


---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
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".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
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".

Outcomes