Subject: | |
From: | |
Reply To: | |
Date: | Tue, 26 Sep 2000 14:31:05 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 5:08 PM -0400 9/26/00, [log in to unmask] wrote:
>1. TEMPVAR = "[log in to unmask]"
...
>
>How do I break this up into 3 different variable TEMPVAR1, TEMPVAR2,
>TEMPVAR3 such that the results should be as follows:
>
>1. TEMPVAR1 = "AI@J", TEMPVAR2 = "GROUP1", TEMPVAR3 = "ACCOUNT1"
...
>
>Is there any option other than involving a WHILE loop with continious read
>till I reach "." in each attempt and process it accordingly. Any better,
>fast and best ideas ? Thanks in advance.
How about
:setvar tempvar "[log in to unmask]"
:setvar tempvar1 word(tempvar,'.',1)
:setvar tempvar2 word(tempvar,'.',2)
:setvar tempvar3 word(tempvar,'.',3)
:showvar temp@
TEMPVAR = [log in to unmask]
TEMPVAR1 = AI@J
TEMPVAR2 = GROUP1
TEMPVAR3 = ACCOUNT1
:
Barry Lake [log in to unmask]
Allegro Consultants, Inc. www.allegro.bogus.com
(408)252-2330
--------
Attempting to use anti-spam technique.
Remove ".bogus" to create valid address.
|
|
|