No need to loop. On the "to string" object properties change the ArraySeparator from " " to ";". That should do it.
Â
Bill
-----Original Message-----
From: martin.lentz@nokia.com [mailto:martin.lentz@nokia.com]
Sent: Monday, February 27, 2006 10:17 AM
To: VRF
Subject: [vrf] Array to Scalar
Hi VRF'ers
I have the following problem for you.
A text array needs to be converted to a semicolon separated string - But, when I use the "ToString" object I get "as a bonus" a space between each element of the array - That was not what I wanted.
I could of course loop through the entire array, but it's not the nice way and neither the fast way to do it or I could remove all spcaes in the string after the conversion, but what if one of the fields actually did contain a space?
Your help will be appraciated.
/Martin
---
You are currently subscribed to vrf as: William.Drago@l-3com.com
To subscribe send a blank email request to "join-vrf@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
To subscribe send a blank email request to "join-vrf@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
This e-mail and subsequent attachments may contain information which is proprietary to L-3 Communications Corporation. The contents shall not be disclosed, copied, distributed or used unless authorized by L-3 Communications Narda - East.
Â
Bill
-----Original Message-----
From: martin.lentz@nokia.com [mailto:martin.lentz@nokia.com]
Sent: Monday, February 27, 2006 10:17 AM
To: VRF
Subject: [vrf] Array to Scalar
Hi VRF'ers
I have the following problem for you.
A text array needs to be converted to a semicolon separated string - But, when I use the "ToString" object I get "as a bonus" a space between each element of the array - That was not what I wanted.
I could of course loop through the entire array, but it's not the nice way and neither the fast way to do it or I could remove all spcaes in the string after the conversion, but what if one of the fields actually did contain a space?
Your help will be appraciated.
/Martin
---
You are currently subscribed to vrf as: William.Drago@l-3com.com
To subscribe send a blank email request to "join-vrf@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
To subscribe send a blank email request to "join-vrf@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
This e-mail and subsequent attachments may contain information which is proprietary to L-3 Communications Corporation. The contents shall not be disclosed, copied, distributed or used unless authorized by L-3 Communications Narda - East.
I have the following problem for you.
A text array needs to be converted to a semicolon separated string - But, when I use the "ToString" object I get "as a bonus" a space between each element of the array - That was not what I wanted.
I could of course loop through the entire array, but it's not the nice way and neither the fast way to do it or I could remove all spcaes in the string after the conversion, but what if one of the fields actually did contain a space?
Your help will be appraciated.
/Martin
---
To subscribe send a blank email request to "join-vrf@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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".