|
Darkmere Novice
Joined: 23 May 2003 Posts: 31
|
Posted: Mon Jul 07, 2003 8:46 pm
Lists and commas |
Here is what I am trying to do:
I want to send someone a list variable over a tell communication, and
want the items to be seperated by commas instead of the | character.
I tried to use a #SUB trigger for the | and turn it into a comma and
a space, but it seems it just substitutes it on your view : This is
what I get..
List::: Typhoeus, Medea, Gandalf, Darkmere, Hades
Tell Typhoeus Typhoeus, Medea, Gandalf, Darkmere, Hades
You tell Typhoeus, 'Typhoeus|Medea|Gandalf|Darkmere|Hades'
Is there any way I can make those commas followed by a space?
Thanks in advance,
Darkmere |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Mon Jul 07, 2003 9:11 pm |
#send %replace(@list,"|",",")
will do the trick |
|
|
|
Carabas GURU
Joined: 28 Sep 2000 Posts: 434 Location: USA
|
Posted: Mon Jul 07, 2003 9:13 pm |
Try this: %expandlist(@List,", ")
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|